> ## 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.

# Register an endpoint

> Save the returned signing secret; it is shown once. Verify the endpoint before progress delivery begins.



## OpenAPI

````yaml openapi.json POST /webhook-endpoints
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:
  /webhook-endpoints:
    post:
      summary: Register an inactive HTTPS endpoint
      description: >-
        Save the returned signing secret; it is shown once. Verify the endpoint
        before progress delivery begins.
      operationId: registerWebhookEndpoint
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  maxLength: 2048
                  format: uri
                  description: Endpoint URL
              required:
                - url
              additionalProperties: false
            example:
              url: https://partners.example.com/webhooks/expedite
      responses:
        '201':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  secret:
                    type: string
                    minLength: 1
                  endpoint:
                    type: object
                    properties:
                      partnerId:
                        type: string
                        minLength: 1
                      environment:
                        enum:
                          - SANDBOX
                          - PRODUCTION
                      url:
                        type: string
                        maxLength: 2048
                        format: uri
                        description: Endpoint URL
                      id:
                        type: string
                      active:
                        type: boolean
                      createdAt:
                        type: string
                        format: date-time
                      verifiedAt:
                        anyOf:
                          - type: string
                            format: date-time
                          - type: 'null'
                      secretRotatedAt:
                        anyOf:
                          - type: string
                            format: date-time
                          - type: 'null'
                      disabledAt:
                        anyOf:
                          - type: string
                            format: date-time
                          - type: 'null'
                    required:
                      - partnerId
                      - environment
                      - url
                      - id
                      - active
                      - createdAt
                      - verifiedAt
                      - secretRotatedAt
                      - disabledAt
                    additionalProperties: false
                required:
                  - secret
                  - endpoint
                additionalProperties: false
              example:
                secret: example_signing_secret_replace_with_issued_value
                endpoint:
                  partnerId: partner_example
                  environment: SANDBOX
                  url: https://partners.example.com/webhooks/expedite
                  id: wh_atlas_labs_001
                  active: false
                  createdAt: '2026-11-09T10:00:00.000Z'
                  verifiedAt: null
                  secretRotatedAt: null
                  disabledAt: null
        '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:
        - partnerOAuth:
            - webhooks:manage
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.