---
title: "List customers"
method: GET
path: "/v1/customers"
tags: ["Customers"]
---

# List customers

`GET /v1/customers`

Returns a paginated list of your customers, most recent first. Pass `search` to filter by email or name. See [Pagination](/guides/pagination) for how to page through results. Requires the `customers:read` scope.

## Query parameters

- `limit` integer
- `offset` integer
- `search` string

## Response `200`

Success

- CustomerListResponse
  - `items` CustomerListItem[], required — The customers on this page. Each item is a customer object.
    - `customer_id` string, required — Unique identifier for the customer, prefixed with `cust_`.
    - `email` string, email, required — The customer's email address.
    - `name` string, nullable — The customer's full name. `null` when not set.
    - `metadata` object, required — Your own key-value data attached to the customer.
    - `created_at` string, date-time, required — ISO 8601 timestamp when the customer was created.
  - `pagination` object, required — Pagination cursors and counts. See the Pagination guide.
    - `next_cursor` string, nullable
    - `prev_cursor` string, nullable
    - `has_more` boolean
    - `limit` integer
    - `offset` integer
    - `returned` integer
    - `total` integer

## Other responses

- `400` — Bad Request - Validation errors or invalid request format. Check the `details` object for field-specific validation errors. Common causes: missing required fields, invalid data types, values outside allowed ranges, or invalid formats.
- `401` — Unauthorized - Invalid, missing, or expired API key. Verify your API key is correctly formatted and included in the Authorization header as `Bearer sk_sandbox_...` or `Bearer sk_live_...`. Check that your key hasn't been revoked.
- `403` — Forbidden - API key does not have permission for the requested resource. Verify you're using the correct organization's API key and that you're not trying to access another organization's data.
- `404` — Not Found - The requested resource does not exist. Verify the resource ID is correct and that it belongs to your organization.
- `429` — Too Many Requests - Rate limit exceeded. Standard tier allows 100 requests per minute per API key. Wait a few seconds before retrying. Check X-RateLimit-Reset header for when the window resets.
- `500` — Internal Server Error - An unexpected error occurred while processing the request. Retry with exponential backoff. If the issue persists, contact support with your request context.

---

[API](https://skmtc.net/bachs/apis/bachs-api.md) · [All operations](https://skmtc.net/bachs/apis/bachs-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bachs/bachs-api/versions/f29efa8a22df/schema)
