List customers

View as Markdown
Pages through your customers. All filters are EXACT matches: `externalId` returns at most one row (it is a per-company-unique alias — the way to look a customer up by your own id), `email` returns every customer sharing the address, and `phone` accepts any parseable format (canonicalized to E.164 before matching). `page` is 1-based; `pageSize` defaults to 20 and is capped at 100.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

pagestringOptional

1-based page number. Defaults to 1.

pageSizestringOptional
Rows per page. Defaults to 20, capped at 100.
externalIdstringOptional

Exact match on your own identifier for the customer — returns 0 or 1 rows (the alias is unique within your company).

emailstringOptional

Exact email match. Email is NOT a customer identity — every customer sharing the address returns.

phonestringOptional

Phone in any parseable format; canonicalized to E.164 before matching. A malformed value returns 400.

Response

totaldouble

Total row count after server-side filtering — drives total-page math.

pagedouble

1-based page number that produced items.

pageSizedouble

Page size honored by the server (may be a clamp of the requested value).

itemslist of objects
The customers on this page.

Errors

400
Bad Request Error
401
Unauthorized Error
429
Too Many Requests Error
503
Service Unavailable Error