Contacts
Lightweight contacts used across messaging and call surfaces.
/contactsList contacts
Returns a cursor-paginated list of contacts. Contacts are a per-user private address book, so a key only ever sees the contacts created by its own issuing member, never the whole organization's. Soft-deleted contacts are excluded. Requires scope: contacts:read.
Response 200
Errors
/contactsCreate a contact
Creates a new contact. At least one of name or phone must be provided. The address fullAddress field is always recomputed server-side from the address parts. Supports idempotent retries via the Idempotency-Key header. Requires scope: contacts:write.
Request body
namephoneemailcompanyavatarUrlentityaddressaddressunitcitystatezipCodecountrylatlngResponse 201
idobjectnamephoneemailcompanyavatarUrlentityaddressaddressunitcitystatezipCodecountrylatlngfullAddressnotesidtextcreatedBycreatedByNamecreatedAtcreatedAtupdatedAtErrors
/contacts/{id}Retrieve a contact
Returns a single contact by id. A record belonging to another organization returns 404 rather than 403, so this can never confirm cross-tenant existence. Requires scope: contacts:read.
Parameters
Path
idrequiredResponse 200
idobjectnamephoneemailcompanyavatarUrlentityaddressaddressunitcitystatezipCodecountrylatlngfullAddressnotesidtextcreatedBycreatedByNamecreatedAtcreatedAtupdatedAtErrors
/contacts/{id}Update a contact
Partially updates a contact. Only the fields supplied in the request body are rewritten. The name-or-phone rule is enforced against the merged result, so a contact can never end up without both. Requires scope: contacts:write.
Parameters
Path
idrequiredRequest body
namephoneemailcompanyavatarUrlentityaddressaddressunitcitystatezipCodecountrylatlngResponse 200
idobjectnamephoneemailcompanyavatarUrlentityaddressaddressunitcitystatezipCodecountrylatlngfullAddressnotesidtextcreatedBycreatedByNamecreatedAtcreatedAtupdatedAtErrors
/contacts/{id}Delete a contact
Soft-deletes a contact by setting its deletedAt timestamp. The contact is thereafter excluded from list and retrieve responses. Requires scope: contacts:write.
Parameters
Path
idrequiredResponse 200
idobjectdeleted