Returns the contacts of your workspace, newest first. Add email, phone or external_id to look up a single contact without knowing its ID.

Parameters

string
required
Bearer <api_key>
integer
default:"50"
Number of contacts to return. Minimum 1, maximum 200.
integer
default:"0"
Number of contacts to skip. Minimum 0, maximum 10000000. Use with limit to paginate.
string
Return only the contact with this email address. Exact match; the value is trimmed and lower-cased before the comparison.
string
Return only the contact with this phone number. Exact match against the number as stored on the contact — the phone value the API returns, e.g. +4917612345678. Encode the leading + as %2B — a literal + in a query string is read as a space and the lookup finds nothing.
string
Return only the contact with this external_id. Exact match; the value is trimmed.
Filters are combined with AND: a request with email and external_id returns a contact only if both match the same record. A filter with an empty value is ignored.

Request

Response

array
The contacts on this page, ordered by created_at, newest first. An empty array when nothing matches — a lookup without a hit is a 200, not a 404.
boolean
true when more contacts follow after this page.
integer
The limit that was applied.
integer
The offset that was applied.
List items do not include consent_records. Fetch a single contact with GET /v1/contacts/{id} to read its consent. The response has no total count and no cursor.
An unexpected failure answers 500 with error: "internal_error". All codes are listed in the error code catalogue.

Pagination

This endpoint is offset-based. Request the next page with offset = offset + limit for as long as has_more is true.
Contacts created or deleted while you page shift the following pages, so a contact can appear twice or be skipped. Deduplicate by id.

Examples

Look up a contact by your own ID:
Look up a contact by email:
Look up a contact by phone number (+ encoded as %2B):
A lookup returns the same list shape as a full listing. Read the contact from contacts[0], and treat an empty contacts array as “not found”.