Skip to main content
Returns a paginated list of the contacts in your organization, oldest first. A contact is one person who has written to you. Filter by email or externalId to find a specific person, for example as the first step of exporting everything about them. With no filter you get every contact.

Authentication

Bearer token in the Authorization header. A read-only key is enough. See Authentication.

Query parameters

Pagination

integer
default:"20"
Number of contacts per page. Range 1 to 100.
string
Opaque cursor from the previous response’s nextCursor. See Pagination.

Filters

string
Only return contacts with this email address. The match is exact and ignores case. It can return more than one contact, see Several contacts can share an email address.
string
Only return the contact with this externalId, your own user ID for the person. The match is exact. An externalId is unique, so you get zero or one contact.

Several contacts can share an email address

Only a verified address is unique. When a visitor merely types an address, for example in the chat widget, Replyful creates a separate contact with email.verified: false. A lookup by email can therefore return several contacts. Export each one and judge whether it is the same person. A contact has exactly one email address. A person who has written from two addresses is two contacts, so look up each address. Erased contacts are not returned.

Response

Returns a list envelope containing Contact objects.

The Contact object

The fields a ticket’s requester has carry the same names here.
string
Unique identifier, usually prefixed with con_.
string
Always "contact".
string | null
Your own user ID for the contact, from the API or user identification. null if none.
string | null
First name, if known.
string | null
Last name, if known.
string | null
Contact display name.
object | null
The contact’s email address, or null if none is known.
string | null
The contact’s phone number as they typed it (for example in the chat handover), or null. Not normalised.
object | null
The company the contact belongs to, or null if none.
object[]
The data fields remembered on the contact, like a customer number. Empty when none are saved. Values saved on a single ticket are on that ticket instead.
string | null
ISO 8601 UTC timestamp of when the contact accepted the privacy policy in the chat widget. null if they have not.
object | null
Set when Replyful stopped emailing this address. null otherwise.
string
ISO 8601 UTC timestamp of contact creation.
string
ISO 8601 UTC timestamp of the most recent update.

Examples

Find contacts by email address

Response

Find a contact by your own user ID

Error responses

See Errors for the full error envelope reference.