Communication Channels
A CommunicationChannel object looks like:
{
// The ID of the communication channel.
"id": 16,
// The address, or path, of the communication channel.
"address": "sheldon@caltech.example.com",
// The type of communcation channel being described. Possible values are:
// 'email', 'push', 'sms'. This field determines the type of value seen in
// 'address'.
"type": "email",
// The position of this communication channel relative to the user's other
// channels when they are ordered.
"position": 1,
// The ID of the user that owns this communication channel.
"user_id": 1,
// The number of bounces the channel has experienced. This is reset if the
// channel sends successfully.
"bounce_count": 0,
// The time the last bounce occurred.
"last_bounce_at": "2012-05-30T17:00:00Z",
// The current state of the communication channel. Possible values are:
// 'unconfirmed' or 'active'.
"workflow_state": "active"
}GET /api/v1/users/:user_id/communication_channels
GET /api/v1/users/:user_id/communication_channelsExample Request:
POST /api/v1/users/:user_id/communication_channels
POST /api/v1/users/:user_id/communication_channelsRequest Parameters:
Parameter
Type
Description
Example Request:
DELETE /api/v1/users/:user_id/communication_channels/:id
DELETE /api/v1/users/:user_id/communication_channels/:idDELETE /api/v1/users/:user_id/communication_channels/:type/:address
DELETE /api/v1/users/:user_id/communication_channels/:type/:addressExample Request:
DELETE /api/v1/users/self/communication_channels/push
DELETE /api/v1/users/self/communication_channels/pushExample Request:
Last updated
Was this helpful?