The ContactChannel object
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for this channel record. |
team_id | integer | ID of the team that owns this channel. |
contact_id | string | UUID of the contact this channel belongs to. |
channel_type | string | Type of channel: phone, email, facebook, or another integration. |
channel_id | string | The channel value, such as a phone number or email address. |
channel_handle | string | Handle associated with the channel, if applicable. |
info_channel | string | Related integration channel, if applicable. |
created | string | ISO 8601 timestamp of when this channel was added. |
updated | string | ISO 8601 timestamp of the last update. |
POST /v2/contact//channel
Adds a new channel to an existing contact.Path parameters
The UUID of the contact to add a channel to.
Request body
The type of channel to add:
phone, email, facebook, or another supported integration.The value for the channel, such as a phone number in E.164 format or an email address.
Response
Returns the updated list of ContactChannel objects for the contact.Example
PUT /v2/contact//channel
Updates an existing channel on a contact.Path parameters
The UUID of the contact whose channel you want to update.
Request body
The type of the channel to update.
The new value for the channel.
Example
GET /v2/contact//channels
Returns all channels attached to a contact.Path parameters
The UUID of the contact whose channels you want to list.
Response
Returns an array of ContactChannel objects.Example
GET /v2/contact//channel/
Returns a specific channel for a contact, identified by channel type.Path parameters
The UUID of the contact.
The type of channel to retrieve, for example
phone or email.Example
DELETE /v2/contact//channel/
Removes a specific channel from a contact.Path parameters
The UUID of the contact.
The type of channel to delete, for example
email.