Skip to main content
GET
TypeScript

Query Parameters

pageCursor
string

Cursor indicating the page position. Omit to fetch the first page.

Maximum string length: 1024
pageSize
integer
default:100

Number of results per page

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

Return the total count of matching contacts alongside the page. Counting is opt-in because it costs an extra pass over the filtered set; total is omitted from the response unless this is true.

name
string

Filter by a case-insensitive substring of the contact name

Required string length: 1 - 255
types
enum<string>[]

Filter by one or more contact types

Maximum array length: 2
Available options:
COUNTERPARTY,
OWN_ACCOUNT
containerId
string<uuid>

Filter by the container holding the contact

archived
boolean
default:false

Return only archived contacts instead of live ones

accessControl
enum<string>

Filter by the access control applied to the contact

Available options:
WHITELIST,
BLACKLIST
includeTagIds
string<uuid>[]

List of tag IDs to include. Contacts with any of these tags will be included

Maximum array length: 50
excludeTagIds
string<uuid>[]

List of tag IDs to exclude. Contacts with any of these tags will be filtered out

Maximum array length: 50
sortBy
enum<string>
default:name

The field to sort by

Available options:
name,
updatedAt
order
enum<string>
default:ASC

The sort direction

Available options:
ASC,
DESC

Response

A paginated list of contacts

data
object[]
required

The page of contacts

Example:
next
string

Cursor to the next page; absent when the current page is the last. Opaque, and bound to the sort that minted it — replay it unchanged and keep sortBy/order steady across pages.

Example:

"bmFtZS1BU0M=~QWNtZSBDb3Jw:NA=="

total
integer

The number of contacts matching the filters, ignoring pagination. Present only when the request passed includeTotal=true; the key is absent otherwise.

Example:

42