List customers

Returns the organization's non-archived customers, most recently updated first.

GET
/v1/customers

Returns the organization's non-archived customers, most recently updated first.

Authorization

AuthorizationBearer <token>

The organization API key, sent as Authorization: Bearer <key>.

In: header

Query Parameters

limit?integer

How many items to return. Maximum 100.

Range1 <= value <= 100
Default25
offset?|

How many items to skip from the beginning.

Range0 <= value
Default0
query?string

Matches against the name, the summary, and the identifier of any of their contacts (phone number, Instagram handle, email).

Length1 <= length
tag?string
Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/customers"
{  "data": [    {      "city": "string",      "contacts": [        {          "displayName": "string",          "id": "string",          "identifierType": "whatsapp",          "identifierValue": "string",          "phoneNumber": "string"        }      ],      "country": "string",      "createdAt": "2019-08-24T14:15:22Z",      "displayName": "string",      "firstName": "string",      "id": "string",      "lastName": "string",      "preferredLanguage": "string",      "summary": "string",      "tags": [        "string"      ],      "updatedAt": "2019-08-24T14:15:22Z"    }  ],  "pagination": {    "limit": 0,    "offset": 0,    "total": 0  }}