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

# List Customer Enrollments

Use the customer's external reference as `customer_id` and the company's
`X-API-Key`. This returns application and reactivation enrollment history without
creating, reopening, or scheduling anything. Deleted applications are excluded;
closed cycles remain visible.

`limit` defaults to 50 (maximum 100). Continue using `nextCursor` as `cursor`,
with the same customer and API-key company. Ordering is newest creation first,
with stable type and ID tie-breakers. The final page has `nextCursor: null`.

Each item includes `id`, `type` (`application` or `reactivation`), external
`reference`, `taskType`, `status`, `enrollmentStatus` (latest captured cadence's
status, or null), `createdAt`, `closedAt`, and `closeReason`. Application status
and task type may be unknown; they are not inferred from another account.
For applications, `closeReason` contains the terminal application status when
closed; for reactivations, it contains the recorded cycle close reason.

An unknown customer returns 404. Ambiguous customer references return 409.
Malformed cursors or cursors from another customer/company return 400.
Cursors longer than 2048 characters fail request validation with 422.


## OpenAPI

````yaml GET /customers/{customer_id}/enrollments
openapi: 3.1.0
info:
  title: Finosu API
  description: Finosu API
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.finosu.com
security:
  - apiKeyAuth: []
paths:
  /customers/{customer_id}/enrollments:
    get:
      tags:
        - Public API - Originations
      summary: List customer enrollments
      parameters:
        - name: customer_id
          in: path
          required: true
          schema:
            type: string
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - name: cursor
          in: query
          schema:
            type: string
            maxLength: 2048
      responses:
        '200':
          description: Paginated enrollment history
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnrollmentsPage'
        '400':
          description: Invalid or differently scoped cursor
        '401':
          description: Invalid API key
        '404':
          description: Customer not found
        '409':
          description: Ambiguous customer reference
components:
  schemas:
    EnrollmentsPage:
      properties:
        items:
          items:
            $ref: '#/components/schemas/EnrollmentItem'
          title: Items
          type: array
        nextCursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Nextcursor
      required:
        - items
        - nextCursor
      title: EnrollmentsPage
      type: object
    EnrollmentItem:
      properties:
        id:
          format: uuid
          title: Id
          type: string
        type:
          enum:
            - application
            - reactivation
          title: Type
          type: string
        reference:
          anyOf:
            - type: string
            - type: 'null'
          title: Reference
        taskType:
          anyOf:
            - type: string
            - type: 'null'
          title: Tasktype
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
        enrollmentStatus:
          anyOf:
            - type: string
            - type: 'null'
          title: Enrollmentstatus
        createdAt:
          format: date-time
          title: Createdat
          type: string
        closedAt:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Closedat
        closeReason:
          anyOf:
            - type: string
            - type: 'null'
          title: Closereason
      required:
        - id
        - type
        - reference
        - taskType
        - status
        - enrollmentStatus
        - createdAt
        - closedAt
        - closeReason
      title: EnrollmentItem
      type: object
  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.