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

# List documents



## OpenAPI

````yaml /openapi.json get /registrations/{registration_id}/documents
openapi: 3.1.0
info:
  title: FastCAC API
  description: Register Nigerian businesses with CAC from your own product.
  version: '2026-11-01'
servers:
  - url: https://api.fastcac.com/v1
security:
  - apiKey: []
tags:
  - name: Account
    description: Check your key and see your organization.
  - name: Name checks
    description: >-
      Check a business name against CAC's rules and registry before registering
      it.
  - name: Registrations
    description: Register a Business Name with CAC, from draft to certificate.
  - name: Test helpers
    description: 'Test keys only: move a registration on without waiting.'
  - name: Webhooks
    description: Endpoints that receive events, and the events sent to them.
  - name: Webhook events
    description: What FastCAC POSTs to your webhook endpoints.
paths:
  /registrations/{registration_id}/documents:
    get:
      tags:
        - Registrations
      summary: List documents
      operationId: list_documents_registrations__registration_id__documents_get
      parameters:
        - name: registration_id
          in: path
          required: true
          schema:
            type: string
            title: Registration Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1DocumentList'
              examples:
                Example:
                  value:
                    object: list
                    data:
                      - object: document
                        id: doc_0jd3TbM5Wc0AkCGZSKYBKn
                        registration_id: reg_4kMzPP2CrSMnY18kiANzau
                        proprietor: 0
                        kind: means_of_id
                        filename: means_of_id.jpg
                        content_type: image/jpeg
                        size: 8
                        status: verified
                        reason: null
                        created_at: '2026-10-23T22:17:57Z'
                      - object: document
                        id: doc_2rd5SWxBhoQGhKZjWBxIWb
                        registration_id: reg_4kMzPP2CrSMnY18kiANzau
                        proprietor: 0
                        kind: passport
                        filename: passport.jpg
                        content_type: image/jpeg
                        size: 8
                        status: verified
                        reason: null
                        created_at: '2026-10-23T22:17:57Z'
                      - object: document
                        id: doc_3g6EJYHVKNTzECvBQ3w6lL
                        registration_id: reg_4kMzPP2CrSMnY18kiANzau
                        proprietor: 0
                        kind: signature
                        filename: signature.jpg
                        content_type: image/jpeg
                        size: 8
                        status: verified
                        reason: null
                        created_at: '2026-10-23T22:17:57Z'
                    has_more: false
        '400':
          description: The request is invalid; `param` names the field.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: The API key is missing, malformed, revoked or expired.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                Example:
                  value:
                    error:
                      type: authentication_error
                      code: api_key_missing
                      message: 'Send your API key as `Authorization: Bearer <key>`.'
                      param: null
                      request_id: req_kdwpKsFMKS4VzLjqZJ0ntdrl
        '403':
          description: >-
            The key can't do this (for example, live registrations before they
            open).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                Example:
                  value:
                    error:
                      type: permission_error
                      code: live_mode_unavailable
                      message: >-
                        Live registrations aren't open yet. Use a test key
                        (fc_test_…) for now.
                      param: null
                      request_id: req_oYVCIHqeYbgIA3lIzwG0PO5r
        '404':
          description: No such object for this key's organization and mode.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                Example:
                  value:
                    error:
                      type: not_found_error
                      code: resource_missing
                      message: 'No such registration: reg_0000000000000000000000.'
                      param: id
                      request_id: req_RlcFqswqrJZos4pnRMH3wa8d
        '409':
          description: >-
            The object's state doesn't allow this, or the Idempotency-Key was
            reused.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests; wait for `Retry-After` seconds.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    V1DocumentList:
      properties:
        object:
          type: string
          const: list
          title: Object
          default: list
        data:
          items:
            $ref: '#/components/schemas/V1Document'
          type: array
          title: Data
        has_more:
          type: boolean
          title: Has More
      type: object
      required:
        - data
        - has_more
      title: V1DocumentList
    Error:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      required:
        - error
      title: V1Error
      type: object
    V1Document:
      properties:
        object:
          type: string
          const: document
          title: Object
          default: document
        id:
          type: string
          title: Id
          description: doc_…
        registration_id:
          type: string
          title: Registration Id
        proprietor:
          type: integer
          title: Proprietor
          description: Index of the proprietor in `proprietors`.
        kind:
          type: string
          enum:
            - means_of_id
            - passport
            - signature
            - supporting_document
          title: Kind
        filename:
          type: string
          title: Filename
        content_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Content Type
        size:
          type: integer
          title: Size
          description: Bytes.
        status:
          type: string
          enum:
            - verified
            - rejected
          title: Status
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
          description: Why it was rejected.
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
      type: object
      required:
        - id
        - registration_id
        - proprietor
        - kind
        - filename
        - content_type
        - size
        - status
        - reason
        - created_at
      title: V1Document
    ErrorDetail:
      properties:
        type:
          enum:
            - invalid_request_error
            - authentication_error
            - permission_error
            - idempotency_error
            - rate_limit_error
            - api_error
          title: Type
          type: string
        code:
          description: Stable and machine-readable, e.g. registration_incomplete.
          title: Code
          type: string
        message:
          description: For a developer to read; may change.
          title: Message
          type: string
        param:
          anyOf:
            - type: string
            - type: 'null'
          description: The parameter at fault, as a path like proprietors[0].nin.
          title: Param
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          description: Also in the FastCAC-Request-Id header. Quote it to support.
          title: Request Id
      required:
        - type
        - code
        - message
        - param
        - request_id
      title: ErrorDetail
      type: object
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: 'Your secret API key: fc_test_… in test mode, fc_live_… in live mode.'

````

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