Set channel as primary

Changed on

Set a channel as the primary channel for its type.

post/v1/contacts/{contactId}/channels/{channelId}/primary

Request

  • Base URL
    https://api.zavu.dev
  • URL
    https://api.zavu.dev/v1/contacts/{contactId}/channels/{channelId}/primary
  • Auth
    HTTP bearer

Path parameters

contactIdstring required
channelIdstring required

Channel ID.

Response

Channel set as primary.

Example response

{
  "channel": {
    "identifier": "+14155551234",
    "countryCode": "US",
    "label": "work"
  }
}

Changes

    • warning

      added the new instagram enum value to the / response property for the response status

    • warning

      added the new messenger enum value to the / response property for the response status