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

# List customers



## OpenAPI

````yaml /swagger/v1/openapi.yaml get /v1/customers
openapi: 3.0.1
info:
  title: SentinelAR API
  version: v1
  description: >-
    Read and act on customers, invoices, recoveries, messages and fees.
    Authenticate with an API key from Settings → API Keys as a bearer token.
servers:
  - url: https://api.sentinelar.app
    description: Production
  - url: '{scheme}://{host}/api'
    description: Local
    variables:
      scheme:
        default: http
        enum:
          - http
          - https
      host:
        default: localhost:3000
security:
  - bearer_auth: []
paths:
  /v1/customers:
    get:
      tags:
        - Customers
      summary: List customers
      parameters:
        - name: cursor
          in: query
          required: false
          description: The next-cursor header of the previous page
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: Items per page (1-100, default 25)
          schema:
            type: integer
      responses:
        '200':
          description: customers listed
          headers:
            link:
              schema:
                type: string
              description: RFC-8288 first and next links
            page-limit:
              schema:
                type: string
            next-cursor:
              schema:
                type: string
              required: false
              description: Absent on the last page
            RateLimit-Limit:
              schema:
                type: string
              description: Requests allowed per minute
            RateLimit-Remaining:
              schema:
                type: string
            RateLimit-Reset:
              schema:
                type: string
              description: Seconds until the window resets
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/customer'
        '401':
          description: missing or invalid token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
components:
  schemas:
    customer:
      type: object
      properties:
        id:
          type: string
          format: uuid
        object:
          type: string
          enum:
            - customer
        email:
          type: string
        name:
          type: string
          nullable: true
        reference:
          type: string
          nullable: true
        sources:
          type: array
          items:
            type: object
            properties:
              provider:
                type: string
              reference:
                type: string
        lifetime_value:
          $ref: '#/components/schemas/money'
        monthly_revenue:
          $ref: '#/components/schemas/money'
        unsubscribed:
          type: boolean
        unsubscribed_at:
          type: string
          format: date-time
          nullable: true
        timezone:
          type: string
          nullable: true
        customer_since:
          type: string
          format: date-time
          nullable: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
        - id
        - object
        - email
        - lifetime_value
        - monthly_revenue
        - unsubscribed
      additionalProperties: false
    error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
      required:
        - error
    money:
      type: object
      properties:
        amount:
          type: string
          example: '500.00'
        currency:
          type: string
          example: USD
      required:
        - amount
        - currency
      additionalProperties: false
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      bearerFormat: snl_<32 hex>

````

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