HomeTutorialsAPI ReferenceChangelog
Log In
API Reference

Replace all contact channels of a customer

Replaces all contact channels of the specified customer with the list provided in data. Any existing channel that is not in data is deleted.

Each item in data is matched to an existing channel by id, or by type and value when id is omitted. Matched channels are updated and unmatched items are created.

Each id and each type/value pair may appear only once, and at most one item per type can have is_default set to true. The type of the current default channel cannot be changed.

🔒 Requires: customers:write scope

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The unique identifier of the customer.

Body Params
data
array of objects
required

The complete list of contact channels the customer should have after the request. Items with an id update that channel. Items without an id update the existing channel with the same type and value, or create a new channel if there is none.

data*
Responses

401

Unauthorized

403

Forbidden - insufficient permissions

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json