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

# Get an access token

> Use a registered sandbox or production client. Token environment is fixed by that client.



## OpenAPI

````yaml openapi.json POST /token
openapi: 3.1.1
info:
  title: Expedite Partners API
  version: 1.0.0
  description: >-
    Approved partners invite founders to complete a Delaware C Corporation in
    Expedite, track incorporation progress, and receive signed updates. Document
    access requires the founder's separate permission.
servers:
  - url: https://api.expedite.now/api/partners/v1
security:
  - partnerOAuth: []
paths:
  /token:
    post:
      summary: Obtain a partner access token
      description: >-
        Use a registered sandbox or production client. Token environment is
        fixed by that client.
      operationId: issuePartnerToken
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                grant_type:
                  const: client_credentials
                  type: string
                  enum:
                    - client_credentials
                client_id:
                  type: string
                  minLength: 1
                  maxLength: 200
                client_secret:
                  type: string
                  minLength: 1
                  maxLength: 200
                scope:
                  type: string
                  maxLength: 500
              required:
                - grant_type
                - client_id
                - client_secret
            example:
              grant_type: client_credentials
              client_id: example_client_id
              client_secret: example_client_secret
              scope: >-
                incorporations:create incorporations:read
                incorporation_documents:read webhooks:manage
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                grant_type:
                  const: client_credentials
                  type: string
                  enum:
                    - client_credentials
                client_id:
                  type: string
                  minLength: 1
                  maxLength: 200
                client_secret:
                  type: string
                  minLength: 1
                  maxLength: 200
                scope:
                  type: string
                  maxLength: 500
              required:
                - grant_type
                - client_id
                - client_secret
            example:
              grant_type: client_credentials
              client_id: example_client_id
              client_secret: example_client_secret
              scope: >-
                incorporations:create incorporations:read
                incorporation_documents:read webhooks:manage
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  access_token:
                    type: string
                  token_type:
                    const: Bearer
                    type: string
                    enum:
                      - Bearer
                  expires_in:
                    type: number
                  scope:
                    type: string
                required:
                  - access_token
                  - token_type
                  - expires_in
                  - scope
              example:
                access_token: exp_partner_example_token
                token_type: Bearer
                expires_in: 3600
                scope: >-
                  incorporations:create incorporations:read
                  incorporation_documents:read webhooks:manage
        '400':
          description: '400'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: array
                              items:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - message
                    required:
                      - code
                      - message
                      - requestId
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
              example:
                error:
                  code: BAD_REQUEST
                  message: Request validation failed
                  requestId: 9cf1644fb12e4af6ac9f47780e3a28d7
        '401':
          description: '401'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: array
                              items:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - message
                    required:
                      - code
                      - message
                      - requestId
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
              example:
                error:
                  code: UNAUTHORIZED
                  message: Partner authentication failed
                  requestId: 9cf1644fb12e4af6ac9f47780e3a28d7
        '403':
          description: '403'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: array
                              items:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - message
                    required:
                      - code
                      - message
                      - requestId
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
              example:
                error:
                  code: FORBIDDEN
                  message: Required permission is missing
                  requestId: 9cf1644fb12e4af6ac9f47780e3a28d7
        '404':
          description: '404'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: array
                              items:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - message
                    required:
                      - code
                      - message
                      - requestId
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
              example:
                error:
                  code: NOT_FOUND
                  message: Resource not found
                  requestId: 9cf1644fb12e4af6ac9f47780e3a28d7
        '409':
          description: '409'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: array
                              items:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - message
                    required:
                      - code
                      - message
                      - requestId
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
              example:
                error:
                  code: CONFLICT
                  message: The request conflicts with the current resource state
                  requestId: 9cf1644fb12e4af6ac9f47780e3a28d7
        '429':
          description: '429'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: array
                              items:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - message
                    required:
                      - code
                      - message
                      - requestId
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
              example:
                error:
                  code: TOO_MANY_REQUESTS
                  message: Request limit reached; retry later
                  requestId: 9cf1644fb12e4af6ac9f47780e3a28d7
      security: []
components:
  securitySchemes:
    partnerOAuth:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.expedite.now/api/partners/v1/token
          scopes:
            incorporations:create: Create incorporation invitations
            incorporations:read: Read permitted referral progress
            incorporations:invite: Resend or cancel unclaimed invitations
            incorporation_documents:read: Read formation and EIN documents shared by the founder
            webhooks:manage: Configure endpoints and inspect or replay eligible deliveries

````

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