RelayAPI

Contacts

Workspace behavior

workspace_id is optional. A standalone contact created without it is organization-scoped when Require Workspace ID is disabled and is rejected when that policy is enabled. If an initial channel account is supplied, omission inherits that account's authoritative workspace in either mode; account_id, platform, and identifier must be supplied together.

Endpoints

MethodEndpointDescription
POSTAdd a channel to a contactAdd a channel to a contact
PUTAdd a contact to a static segmentAdd a contact to a static segment
POSTBulk add tags, remove tags, or delete contactsBulk add tags, remove tags, or delete contacts
POSTBulk create up to 1000 contactsBulk create up to 1000 contacts
DELETEClear a custom field value for a contactClear a custom field value for a contact
POSTCreate a contactCreate a contact
DELETEDelete a contactDelete a contact
GETGet a single contact with all channelsGet a single contact with all channels
GETList channels for a contactList channels for a contact
GETList immutable consent evidence for a contactList immutable consent evidence for a contact
GETList all segment memberships for a contactList all segment memberships for a contact
GETList contacts with filtering and paginationList contacts with filtering and pagination
POSTMerge another contact into this oneMerge another contact into this one
POSTRecord consent or withdrawal evidenceRecord consent or withdrawal evidence
DELETERemove a channel from a contactRemove a channel from a contact
DELETERemove a contact from a static segmentRemove a contact from a static segment
PUTSet a custom field value for a contactSet a custom field value for a contact
PATCHUpdate a contactUpdate a contact

Found something wrong? Help us improve this page.

On this page