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

# List Customers

> Retrieve all customers in your workspace

## Authorization

**Authorization** `string` *required*

Bearer token. Format: `Bearer qwoty_your_token`

## Examples

```bash cURL theme={null}
curl https://qwoty.app/api/customers \
  -H "Authorization: Bearer qwoty_your_token"
```

```javascript JavaScript theme={null}
const response = await fetch('https://qwoty.app/api/customers', {
  headers: { Authorization: 'Bearer qwoty_your_token' },
})
const data = await response.json()
```

```python Python theme={null}
import requests

response = requests.get(
    'https://qwoty.app/api/customers',
    headers={'Authorization': 'Bearer qwoty_your_token'},
)
data = response.json()
```

## Response

**success** `boolean`

`true` if the request succeeded

**data** `array`

Array of customer objects

**Customer Object**

**id** `string`

UUID

**workspace\_id** `string`

Workspace UUID

**name** `string`

Customer name

**type** `string`

`company` or `individual`

**segment\_id** `string | null`

Segment UUID

**logo** `string | null`

Logo URL

**identifiers** `object`

External system identifiers

**Identifiers**

**identifiers.crm** `string | null`

CRM identifier

**identifiers.erp** `string | null`

ERP identifier

**identifiers.accounting** `string | null`

Accounting identifier

**contact\_ids** `string[]`

Array of contact UUIDs linked to this customer. Use `GET /api/contacts/{id}` to fetch each contact.

**address\_ids** `string[]`

Array of address UUIDs linked to this customer. Use `GET /api/addresses/{id}` to fetch each address.

**created\_at** `string`

ISO 8601 timestamp

**updated\_at** `string`

ISO 8601 timestamp

```json Success Response theme={null}
{
  "success": true,
  "data": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "workspace_id": "706eb564-6c4a-4e18-841c-bdd79be6bca7",
      "name": "Acme Corporation",
      "type": "company",
      "segment_id": null,
      "logo": null,
      "identifiers": {
        "crm": "crm_001",
        "erp": null,
        "accounting": null
      },
      "contact_ids": ["a1b2c3d4-e5f6-7890-abcd-ef1234567890"],
      "address_ids": ["c3d4e5f6-a7b8-9012-cdef-123456789012"],
      "created_at": "2026-01-15T10:30:00Z",
      "updated_at": "2026-01-15T10:30:00Z"
    }
  ]
}
```


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