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

# List customers

> List customers visible to the authenticated partner API key.

List customers visible to the authenticated partner API key.

Use this endpoint when you need to recover a customer `id` before creating incorporations or managing customer-scoped Commenda OS resources.

```bash theme={null}
curl --request GET \
  --url 'https://api.prod.commenda.io/api/v1/partner/customers' \
  --header 'x-api-key: YOUR_API_KEY'
```

```json theme={null}
{
  "customers": [
    {
      "id": 77,
      "name": "Acme Holdings",
      "createdAt": "2026-04-20T19:35:00.000Z",
      "updatedAt": "2026-04-20T19:40:00.000Z"
    }
  ],
  "count": 1
}
```


## OpenAPI

````yaml GET /partner/customers
openapi: 3.0.1
info:
  title: Commenda Public APIs
  description: >-
    APIs for Commenda entity management, partner incorporation, indirect tax,
    compliance, and corporate operations.
  license:
    name: NONE
    url: NONE
  version: 1.0.0
servers:
  - url: https://api.prod.commenda.io/api/v1
    description: Commenda platform APIs, including Partner Incorporation and Commenda OS.
  - url: https://transaction-tax.api.in.commenda.io/api/v1
    description: Global Indirect Tax API.
security:
  - bearerAuth: []
paths:
  /partner/customers:
    get:
      summary: List customers
      description: List customers visible to the authenticated partner API key.
      operationId: listPartnerCustomers
      responses:
        '200':
          description: Customers retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerListCustomersResponse'
        '401':
          description: Missing or invalid partner API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AffiliatePublicError'
      security:
        - xApiKeyAuth: []
      servers:
        - url: https://api.prod.commenda.io/api/v1
components:
  schemas:
    PartnerListCustomersResponse:
      type: object
      required:
        - customers
        - count
      properties:
        customers:
          type: array
          items:
            $ref: '#/components/schemas/PartnerCustomer'
        count:
          type: integer
          example: 1
    AffiliatePublicError:
      type: object
      required:
        - statusCode
        - message
        - error
      properties:
        statusCode:
          type: integer
          example: 403
        message:
          oneOf:
            - type: string
            - type: array
              items:
                type: string
          example: Company does not belong to this affiliate firm
        error:
          type: string
          example: Forbidden
    PartnerCustomer:
      type: object
      required:
        - id
        - name
        - createdAt
        - updatedAt
      properties:
        id:
          type: integer
          description: Commenda customer identifier.
          example: 77
        name:
          type: string
          nullable: true
          description: Display name for the customer.
          example: Acme Holdings
        createdAt:
          type: string
          format: date-time
          nullable: true
          description: Timestamp when the customer record was created.
          example: '2026-04-20T19:35:00.000Z'
        updatedAt:
          type: string
          format: date-time
          description: Timestamp when the customer record was last updated.
          example: '2026-04-20T19:40:00.000Z'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    xApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````