Skip to main content
The List Contacts endpoint returns a paginated array of contact objects from your Workspace. You can narrow results using keyword search, filter by channel type, filter by specific inbox IDs, and control pagination and sort order. Each contact object includes full profile data, tags, custom fields, notes, inbox connections, and the most recent conversation.
GET /api/v1/contacts

Query Parameters

integer
Page number to retrieve. Must be between 1 and 9007199254740991. Defaults to 1.
integer
Number of contacts per page. Must be between 1 and 9007199254740991. Defaults to 20.
array of objects
Array of sort objects. Each object specifies a field and direction to sort by. Example: [{"field": "createdAt", "order": "desc"}].
string
Free-text search string. Matches against contact name, email, and phone number.
object
Advanced filter object for filtering contacts by tag, custom field value, subscription status, and other criteria.
array of strings
Filter contacts by the channels they are active on. Accepted values: omnichannel, webchat, messenger, whatsapp, zalo, smtp, telegram, instagram, tiktok.
array of strings
Filter contacts by specific inbox IDs. Each value must match the pattern \d+.

Code Examples

Response Fields

array
required
Array of contact objects.
number
required
Total number of pages available based on the current perPage value.

Example Response