Skip to main content
GET

Authorizations

X-API-Key
string
header
required

Query Parameters

page
integer<int32>
default:1

Page number of the results to be returned, 1-based.

Required range: 1 <= x <= 100
limit
integer<int32>
default:10

A limit on the number of results to be returned, or number of results per page, between 1 and 100, defaults to 10.

Required range: 1 <= x <= 100
includeTotal
boolean
default:false

Return results inside an object that contains the total result count or not.

pageAfter
string

Contact ID cursor for forward pagination. Use 0 to start a new cursor traversal. For each subsequent page, pass the exact cursor.after value from the previous response. The value must be a non-negative decimal integer in the signed 64-bit range (0 through 9223372036854775807). It cannot be combined with page, pageBefore, offset, or sort.

Pattern: ^[0-9]+$
Example:

"0"

filter.tags
string

Comma-separated list of tag names. If any tag does not exist, the request fails with a parameter error.

Example:

"tag1,tag2"

filter.countryCode
string

Two-letter country abbreviation. See ISO 3166-1 alpha-2 country code.

Example:

"US"

filter.phoneNumber
string

Phone number in E.164 format.

Example:

"+16315551111"

filter.email
string

The contact's email address.

Example:

"support@example.com"

Response

Successfully retrieved a paginated list of objects.

Represents a given page of contacts. In cursor mode, offset is 0, items are ordered by contact ID in ascending order, and cursor is returned only when another page exists. When includeTotal=true, total is the complete filtered count and is not reduced by the cursor position.

offset
integer<int32>
required

The position of the item this page starts from, zero-based. e.g., the 11th item is at offset 10.

Required range: x >= 0
limit
integer<int32>
required

A limit on the number of items to be returned, between 1 and 100, defaults to 10.

Required range: x >= 1
length
integer<int32>
required

The actual number of items in the page.

Required range: x >= 0
total
integer<int32>

The total number of items. This field is returned only when the request parameter includeTotal is set to true.

Required range: x >= 0
items
object[]

An array containing contact objects.

cursor
object

Position of the next Contact page. This object is returned only when another page exists.