List contacts
GET/v1/accounts/{accountID}/contacts/list
List merged contacts for a specific account with cursor-based pagination.
Path Parameters
accountID: string
Account ID this resource belongs to.
Query Parameters
cursor: optional string
Opaque pagination cursor; do not inspect. Use together with 'direction'.
limit: optional number
Maximum contacts to return per page.
minimum1
maximum200
query: optional string
Optional search query for blended contact lookup.
minLength1
Returns
hasMore: boolean
True if additional results can be fetched using cursors.
newestCursor: string
Cursor for fetching newer results (use with direction='after'). Opaque string; do not inspect.
oldestCursor: string
Cursor for fetching older results (use with direction='before'). Opaque string; do not inspect.
List contacts
curl http://localhost:23373/v1/accounts/$ACCOUNT_ID/contacts/list{
"hasMore": true,
"items": [
{
"id": "id",
"cannotMessage": true,
"email": "email",
"fullName": "fullName",
"imgURL": "imgURL",
"isSelf": true,
"phoneNumber": "phoneNumber",
"username": "username"
}
],
"newestCursor": "newestCursor",
"oldestCursor": "oldestCursor"
}Returns Examples
{
"hasMore": true,
"items": [
{
"id": "id",
"cannotMessage": true,
"email": "email",
"fullName": "fullName",
"imgURL": "imgURL",
"isSelf": true,
"phoneNumber": "phoneNumber",
"username": "username"
}
],
"newestCursor": "newestCursor",
"oldestCursor": "oldestCursor"
}