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

# Get an onboarding

> Its status, and the merchant's id once the merchant finished.



## OpenAPI

````yaml sales-partner/api-reference/openapi.json GET /v1/onboarding/{id}
openapi: 3.1.0
info:
  title: Compago Sales Partner API
  version: 1.0.0
  description: >-
    API endpoints for Compago sales partners: payments across the organizations
    you manage, your merchant accounts and their onboarding.
servers:
  - url: https://demo-api-honor.compago.com/api/developer
    description: Demo
  - url: https://api-honor.compago.com/api/developer
    description: Production
security: []
tags:
  - name: Payment
    description: Endpoints for querying payment data across your organizations
  - name: PartnerAccounts
    description: Your merchants and their onboarding requirements
  - name: Onboarding
    description: Hosted onboarding links
paths:
  /v1/onboarding/{id}:
    get:
      tags:
        - Onboarding
      summary: Get an onboarding
      description: Its status, and the merchant's id once the merchant finished.
      operationId: getOnboarding
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: The onboarding's id.
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Onboarding'
        '401':
          description: Unauthorized. The `x-api-key` header is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicError'
        '404':
          description: Not found, or it belongs to another partner.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicError'
        '429':
          description: >-
            Rate limit exceeded. See the `Retry-After` and `X-RateLimit-*`
            headers.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    Onboarding:
      type: object
      properties:
        id:
          type: string
          description: Onboarding id.
          format: uuid
        email:
          type: string
          description: The merchant owner's e-mail.
        status:
          type: string
          enum:
            - PENDING
            - COMPLETED
            - EXPIRED
            - CANCELED
        url:
          type:
            - string
            - 'null'
          description: The link to show the merchant. Null unless `PENDING`.
        expiresAt:
          type: string
          description: When the link stops working.
          format: date-time
        account:
          type:
            - string
            - 'null'
          description: The merchant's id once `COMPLETED`.
          format: uuid
        createdAt:
          type: string
          description: When it was created.
          format: date-time
      required:
        - id
        - email
        - status
        - url
        - expiresAt
        - account
        - createdAt
    PublicError:
      type: object
      properties:
        message:
          type: string
          description: Human-readable description.
        code:
          type: string
          description: Stable machine-readable code. Branch on this, not on `message`.
      required:
        - message
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````

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