> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usenexio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Ensure the acting person's product access

> Creates a first self-request or sign-in default grant for the acting user. An existing grant is returned unchanged. Needs the managed key and a trusted acting principal. Refused to scoped keys.



## OpenAPI

````yaml /openapi.generated.json post /access/product-access
openapi: 3.1.0
info:
  description: >-
    Public API reference. Generated from apps/engine/openapi.yaml by make
    docs-openapi-write. Do not edit.
  title: Nexio platform API
  version: '1'
servers:
  - url: https://api.usenexio.com
security: []
tags:
  - name: Access
  - name: Catalog
  - name: Conversations
  - name: Documents
  - name: Engines
  - name: Events
  - name: Feedback
  - name: Graph
  - name: Records
  - name: Roadmap
  - name: Runs
  - name: Webhooks
  - name: accounts
  - name: actions
  - name: activities
  - name: activity-feed
  - name: attachments
  - name: audit
  - name: benefit-plans
  - name: billing-transactions
  - name: carrier_documents
  - name: certificate-holders
  - name: certificate_drafts
  - name: certificates
  - name: change_feed
  - name: claims
  - name: classes
  - name: codes
  - name: commission_facts
  - name: connections
  - name: contacts
  - name: contingencies
  - name: conversations
  - name: customer
  - name: customer_contacts
  - name: deals
  - name: dependents
  - name: document_extractions
  - name: documents
  - name: drivers
  - name: eforms
  - name: employees
  - name: events
  - name: feature_requests
  - name: form-templates
  - name: invoices
  - name: leads
  - name: line_schedules_other
  - name: loss_history
  - name: machines
  - name: markets
  - name: motor-carriers
  - name: notes
  - name: opportunities
  - name: opportunity-signals
  - name: pages
  - name: personal_lines_detail
  - name: placement_choices
  - name: placement_feedback
  - name: placements
  - name: policies
  - name: policy_parties
  - name: policy_personnel
  - name: policy_transactions
  - name: premium_rows
  - name: procedures
  - name: proposals
  - name: quote_comparisons
  - name: quotes
  - name: records
  - name: register-views
  - name: renewal-entries
  - name: risk_review_choices
  - name: rollups
  - name: seats
  - name: sec-filings
  - name: service_agreements
  - name: submissions
  - name: suspenses
  - name: tasks
  - name: umbrella_underlying
  - name: underwriting_questions
  - name: uploaded_documents
  - name: vehicles
  - name: workflows
paths:
  /access/product-access:
    post:
      tags:
        - Access
      summary: Ensure the acting person's product access
      description: >-
        Creates a first self-request or sign-in default grant for the acting
        user. An existing grant is returned unchanged. Needs the managed key and
        a trusted acting principal. Refused to scoped keys.
      operationId: createProductAccess
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkbenchProductAccessRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkbenchProductAccessGrantCreateResult'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Conflict
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Too Many Requests
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Internal Server Error
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Service Unavailable
      security:
        - bearer: []
components:
  schemas:
    WorkbenchProductAccessRequest:
      additionalProperties: false
      properties:
        actor_id:
          type: string
        expected_updated_at: {}
        expires_at:
          format: date-time
          type:
            - string
            - 'null'
        note:
          type:
            - string
            - 'null'
        org_id:
          type: string
        product_key:
          description: >-
            The product the grant admits; the API administers grants for
            insurance only.
          enum:
            - insurance
          type: string
        role:
          type:
            - string
            - 'null'
        source:
          type: string
        source_ref:
          type:
            - string
            - 'null'
        source_synced_at:
          format: date-time
          type:
            - string
            - 'null'
        status:
          type: string
        subject_id:
          type: string
        subject_type:
          type: string
        sync_run_id:
          type:
            - string
            - 'null'
      required:
        - product_key
        - org_id
        - subject_type
        - subject_id
        - role
        - status
        - actor_id
        - source
        - source_ref
        - source_synced_at
        - sync_run_id
        - note
        - expires_at
      type: object
    WorkbenchProductAccessGrantCreateResult:
      additionalProperties: false
      properties:
        created:
          type: boolean
        grant:
          $ref: '#/components/schemas/WorkbenchProductAccessGrant'
      required:
        - created
        - grant
      type: object
    ErrorEnvelope:
      additionalProperties: false
      properties:
        code:
          description: The stable machine-readable error code. One meaning forever.
          type: string
        details:
          description: Structured detail for the code.
        message:
          description: A human-readable sentence about this occurrence.
          type: string
      required:
        - code
        - message
      type: object
    WorkbenchProductAccessGrant:
      additionalProperties: false
      properties:
        created_at:
          format: date-time
          type: string
        decided_at:
          format: date-time
          type:
            - string
            - 'null'
        decided_by:
          type:
            - string
            - 'null'
        expires_at:
          format: date-time
          type:
            - string
            - 'null'
        id:
          type: string
        note:
          type:
            - string
            - 'null'
        org_id:
          type:
            - string
            - 'null'
        product_key:
          type: string
        requested_at:
          format: date-time
          type:
            - string
            - 'null'
        requested_by:
          type:
            - string
            - 'null'
        role:
          type:
            - string
            - 'null'
        source:
          type: string
        source_ref:
          type:
            - string
            - 'null'
        source_synced_at:
          format: date-time
          type:
            - string
            - 'null'
        status:
          type: string
        subject_id:
          type: string
        subject_type:
          type: string
        sync_run_id:
          type:
            - string
            - 'null'
        updated_at:
          format: date-time
          type: string
      required:
        - id
        - product_key
        - org_id
        - subject_type
        - subject_id
        - role
        - status
        - source
        - source_ref
        - source_synced_at
        - sync_run_id
        - requested_by
        - requested_at
        - decided_by
        - decided_at
        - note
        - expires_at
        - created_at
        - updated_at
      type: object
  securitySchemes:
    bearer:
      description: The org's platform API key.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.