List Contacts

Get a list of contacts.

Pagination. Every response carries paginator.nextCursor. To get the next page, send it
back as cursor together with the same filters; it is null on the last page. Following
nextCursor reaches every contact, however many there are. A page fetched by cursor has no
paginator.currentPage.

page is still accepted, but it only reaches the first 10,000 contacts: a page past that
returns no contacts. paginator.totalItemsCount is capped at 10,000 for the same reason.
Use cursor to go further.

Order. Without a search filter (fsf_query, name, email or phone_number)
contacts are returned oldest first, also when they are filtered by consumer_id or by channel.
With a search filter they are ordered by name A-Z (contacts without a name last); pages fetched
by cursor break ties by channel, then by customer. There is no sort parameter. There, the
nextCursor of a page fetched without a cursor may return again the contacts already
returned that share a name with the last contact of that page (up to a page of them when a
search matches many contacts of the same name), but it never skips one. Deduplicate on id
and channel_id when you need each contact once.

Parameters. Only the parameters below are read; any other is ignored. The legacy name
query is read as fsf_query when fsf_query is not sent.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Full-text search of the contacts' name and email. Contacts match when their name or email holds any of the words, ignoring case. In double quotes, the whole name or email must match exactly: fsf_query="Jane Doe" finds the contacts named exactly Jane Doe, not Doe Jane. A query with digits and no @ is read as a phone number and matches it exactly. To find a person by name, filter by name instead.

int64

The contacts of this customer: a contact's id. A customer who contacted the account on several channels has one contact per channel.

string

Contacts with this email address, ignoring case, also when it is stored with a display name ("Jane Doe [email protected]"). A value without an @ (such as n/a) is matched as before: it must equal the stored value in lower case.

string

Contacts whose full name holds all of these words, in any order, ignoring case: name=Jane Doe finds Jane Doe and Doe Jane, not Jane Smith.

string

Contacts with this phone number. Only its digits count, without leading zeros, as the numbers are stored for search: +44 7700 900123, 0044 7700 900123 and 447700900123 are the same number, while 07700 900123 is a different one (no country code).

int64

Contacts on this channel. A channel that does not exist answers 4002, and one of another account 4004.

filter_channel_id_list
array of int64s

Contacts on any of these channels, comma separated, e.g. filter_channel_id_list=12,34 (or filter_channel_id_list[]=12&filter_channel_id_list[]=34).

filter_channel_id_list
filter_channel_id_excluding
array of int64s

Contacts on none of these channels, comma separated, e.g. filter_channel_id_excluding=12,34.

filter_channel_id_excluding
string

The paginator.nextCursor of the previous page. It must be sent with the same filters as the request that returned it, and cannot be combined with page.

integer
≥ 1

Page number, starting at 1. Only reaches the first 10,000 contacts; use cursor to go further. A value below 1 is read as 1, and a page past the last one returns the last page.

integer
1 to 1000
Defaults to 20

Number of contacts per page. A value above 1000 is read as 1000; a value below 1 as the default.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json