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

# List customers



## OpenAPI

````yaml get /v1/customers
openapi: 3.0.0
info:
  title: Revstack API
  version: 1.0.0
  description: >-
    Open Source Billing OS for Developers. The scalable, developer-first billing
    engine with subscriptions, invoicing, usage metering, and entitlements.
servers:
  - url: http://localhost:6900
    description: Revstack API (Local Development)
security: []
paths:
  /v1/customers:
    get:
      tags:
        - Customers
      summary: List customers
      parameters:
        - schema:
            type: string
            minLength: 1
          required: true
          name: environment_id
          in: query
        - schema:
            type: number
            default: 10
          required: false
          name: limit
          in: query
        - schema:
            type: number
            default: 0
          required: false
          name: offset
          in: query
      responses:
        '200':
          description: Customer List
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    environment_id:
                      type: string
                    user_id:
                      type: string
                    email:
                      type: string
                      format: email
                    name:
                      type: string
                    external_id:
                      type: string
                    phone:
                      type: string
                      nullable: true
                    metadata:
                      type: object
                      nullable: true
                      additionalProperties:
                        nullable: true
                    created_at:
                      type: string
                  required:
                    - id
                    - environment_id
                    - user_id
                    - email
                    - name
                    - external_id
                    - phone
                    - metadata
                    - created_at

````