Contacts

Contact association

Changed on

Associate a channel, email address, or MSISDN with a contact. The contact_id is created if it does not already exist.

post/api/contacts/associate

Request

Request body

OR

Example request

{
  "channel_id": "9c36e8c7-5a73-47c0-9716-99fd3d4197d5",
  "contact_id": "john_doe"
}

Response

The request was accepted. The contact_id is returned in the response.

okboolean required

Success.

operation_idstring uuid

A unique string identifying the operations that modify resources. Use the operation ID to locate and track grouped operations (i.e., a batch push operation may generate multiple push_id strings, but a single operation_id) or operations that change an existing resource.

Changes

    • breaking

      removed subschema #1: Contact association payload with Channel ID subschema #2: Contact association payload with email address from the request body oneOf list

    • info

      added to the request body oneOf list

    This list may be incomplete.

    • info

      endpoint added