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

# Deliveries to an endpoint



## OpenAPI

````yaml /openapi.json get /webhooks/endpoints/{endpoint_id}/attempts
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:
  /webhooks/endpoints/{endpoint_id}/attempts:
    get:
      tags:
        - Webhooks
      summary: Deliveries to an endpoint
      operationId: attempts_webhooks_endpoints__endpoint_id__attempts_get
      parameters:
        - name: endpoint_id
          in: path
          required: true
          schema:
            type: string
            title: Endpoint Id
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            default: 50
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WebhookAttemptOut'
                title: >-
                  Response Attempts Webhooks Endpoints  Endpoint Id  Attempts
                  Get
        '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:
    WebhookAttemptOut:
      properties:
        object:
          type: string
          const: webhook_attempt
          title: Object
          default: webhook_attempt
        endpoint_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Endpoint Id
        event_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Event Id
        status:
          type: string
          title: Status
        response_status:
          anyOf:
            - type: integer
            - type: 'null'
          title: Response Status
        response_body:
          type: string
          title: Response Body
        duration_ms:
          anyOf:
            - type: integer
            - type: 'null'
          title: Duration Ms
        trigger:
          anyOf:
            - type: integer
            - type: 'null'
          title: Trigger
          description: 0 = scheduled, 1 = manual resend.
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
      type: object
      required:
        - endpoint_id
        - status
        - response_status
        - response_body
        - duration_ms
        - created_at
      title: WebhookAttemptOut
    Error:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      required:
        - error
      title: V1Error
      type: object
    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.