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

# List Customers

> Retrieve all customers associated with your merchant account.

### Authentication

Requires `X-API-KEY` header.

### Query Parameters

**email** `string`

Filter to a specific customer by email address (case-insensitive).

### Response

Returns a paginated envelope containing a list of customers.

### Pagination (List View)

**data** `array`

The list of customer objects.

**pagination** `object`

Pagination metadata (`limit`, `offset`, `total`, `has_more`).

### Customer Object

**id** `uuid`

The unique identifier for the customer.

**name** `string`

The customer's full name.

**email** `string`

The customer's email address.

**phone** `string`

The customer's phone number.

**created\_at** `datetime`

Timestamp when the customer record was created.

```bash cURL (all)
curl https://api.playto.so/v1/customers/ \
  -H "X-API-KEY: sk_live_your_api_key_here"
```

```bash cURL (lookup by email)
curl "https://api.playto.so/v1/customers/?email=jane@acme.com" \
  -H "X-API-KEY: sk_live_your_api_key_here"
```

```json 200
{
  "data": [
    {
      "id": "e5f6a7b8-c9d0-1234-efab-345678901234",
      "name": "Jane Smith",
      "email": "jane@acme.com",
      "phone": "+1 555 000 1234",
      "created_at": "2024-05-01T10:00:00Z"
  },
  {
    "id": "f6a7b8c9-d0e1-2345-fabc-456789012345",
    "name": "Tom Lee",
    "email": "tom@startup.io",
    "phone": "",
    "created_at": "2024-04-20T09:00:00Z"
  }
  ],
  "pagination": {
    "limit": 50,
    "offset": 0,
    "total": 2,
    "has_more": false
  }
}
```
