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

# List onboardings

> The onboarding links you created, newest first.



## OpenAPI

````yaml sales-partner/api-reference/openapi.json GET /v1/onboarding
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:
    get:
      tags:
        - Onboarding
      summary: List onboardings
      description: The onboarding links you created, newest first.
      operationId: listOnboardings
      parameters:
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
          description: Rows per page. Values above 100 are rejected.
        - name: cursor
          in: query
          schema:
            type: string
          description: >-
            Opaque cursor from a previous response's `pagination.nextCursor`.
            Omit for the first page.
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnboardingPage'
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicError'
        '401':
          description: Unauthorized. The `x-api-key` header is missing or invalid.
          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:
    OnboardingPage:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Onboarding'
        pagination:
          $ref: '#/components/schemas/PublicPagination'
      required:
        - data
        - pagination
    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
    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
    PublicPagination:
      type: object
      properties:
        limit:
          type: integer
          description: Rows requested for this page.
        hasMore:
          type: boolean
          description: Whether another page exists.
        nextCursor:
          type:
            - string
            - 'null'
          description: Pass as `?cursor=` to fetch the next page. Null on the last page.
      required:
        - limit
        - hasMore
        - nextCursor
  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.