List, search, and filter contacts

Use this API endpoint to list all contacts, search contacts, or filter contacts by many criteria. For example, search for specific contacts by email, list, account.

Query Params
string

Filter contacts by ID. Can be repeated for multiple IDs. Example: ids[]=1&ids[]=2&ids[]=42

string

Email address of the contact you want to get

string

Filter contacts that contain the given value in the email address

int32

Exclude from the response the contact with the given ID

int32

Filter contacts associated with the given form

int32

Only include contacts with an ID greater than the given ID

int32

Only include contacts with an ID less than the given ID

string

Filter contacts associated with the given list

string

Filter contacts where the phone number starts with the given value

int32

(Deprecated) Please use Account-Contact end points. Filter contacts associated with the given organization ID

string
Defaults to null

Filter contacts that match the given value in the contact names, organization, phone or email

int32
Defaults to null

Return only contacts that match a list segment. The first API call within 1 hour or an API call with the param forceQuery=1 will kick off an new segment request. When the segment results are ready, subsequent API calls without the forceQuery param will return contacts that match the segment - timeout 1hr)

int32

Filter contacts associated with the given automation

int32
Defaults to -1
int32

Filter contacts associated with the given tag

date

Filter contacts that were created prior to this date

date

Filter contacts that were created after this date

date

Filter contacts that were updated before this date

date

Filter contacts that were updated after this date

int32

Filter by contacts in the wait queue of an automation block

string
enum
Defaults to ASC

Order contacts by unique ID

Allowed:
string
enum

Order contacts by creation date

Allowed:
string
enum
Defaults to ASC

Order contacts by email

Allowed:
string
enum

Order contacts by first name

Allowed:
string
enum

Order contacts by last name

Allowed:
string
enum

Order contacts by full name

Allowed:
string
enum

Order contacts by score. Must be used in conjunction with the sortId parameter

Allowed:
string

Set this to "true" in order to return only contacts that the current user has permissions to see.

number
enum
Defaults to 0

If present and equal to 1, a new segment request is kicked off which will return an updated result set. Otherwise, a segmented API request with a consistent sorting will return the same results for 1 hour. Note that re-ordering the results will also cause an updated result set to be returned.

Allowed:
number

If sorting results by a score or custom field, this parameter holds the id of the score or custom field respectively

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Choose an example:
application/json