List contacts
Returns a paginated list of the workspace’s address book contacts.
Live contacts are returned by default; pass archived=true to return only the archived
ones. Results are sorted by name ascending unless sortBy/order say otherwise.
Because the sort column is the page cursor’s leading key, a pageCursor must be replayed
with the same sort it was minted under, or the request is rejected.
Endpoint Permissions: any workspace role may read the address book. Writes are role-gated.
Query Parameters
Cursor indicating the page position. Omit to fetch the first page.
1024Number of results per page
1 <= x <= 100Return 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.
Filter by a case-insensitive substring of the contact name
1 - 255Filter by one or more contact types
2COUNTERPARTY, OWN_ACCOUNT Filter by the container holding the contact
Return only archived contacts instead of live ones
Filter by the access control applied to the contact
WHITELIST, BLACKLIST List of tag IDs to include. Contacts with any of these tags will be included
50List of tag IDs to exclude. Contacts with any of these tags will be filtered out
50The field to sort by
name, updatedAt The sort direction
ASC, DESC Response
A paginated list of contacts
The page of contacts
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.
"bmFtZS1BU0M=~QWNtZSBDb3Jw:NA=="
The number of contacts matching the filters, ignoring pagination. Present only when the request passed includeTotal=true; the key is absent otherwise.
42