Retrieves a single channel. A channel is like a mailing list - to which users can subscribe to and unsubscribe. Messages can only be sent to a specific subscriber. A channel will have one or more transport (e.g. a shortcode ) with which subscribers communicate.
Response format | JSON |
---|---|
Requires authentication? | Yes |
curl -X GET \
-u '[SID]:[TOKEN]' \
'https://api.essential.to/v2/account/channels/ch_p03Gjl8Uzn0RkZSpHXHnrw'
# Sample response
{
"name": "Example Project",
"onreceived_url": null,
"created_at": "2017-01-24T01:24:35.000Z",
"updated_at": "2017-01-24T01:24:35.000Z",
"area_codes": null,
"deliveries_paused_at": null,
"received_paused_at": null,
"sid": "p03Gjl8Uzn0RkZSpHXHnrw",
"account_sid": "p03Gjl8Uzn0RkZSpHXHnrw",
"bot_sid": "p03Gjl8Uzn0RkZSpHXHnrw"
}
Python coming soon.
Node coming soon.