Get one subscriber.
NOTE the added_to_inbox_at field. When there is a datetime value in added_to_inbox_at it means that the user requires support. This means that messages from the subscriber appear in the left-hand side 'Support Queue' column on the Inbox page. It also means that messages to and from this subscriber are routed to/from a CS provider if a CS provider (such as Zendesk) has been enabled for the subscriber's account and/or channel.
Response format | JSON |
---|---|
Requires authentication? | Yes |
curl -X GET \
-u '[SID]:[TOKEN]' \
'https://api.essential.to/v2/account/subscribers/daBoeXvpfadRPgyYaaZJpw'
# Sample response
{
"phone_number": "5009998080",
"status": "subscribed",
"subscribed_at": "2017-01-25T21:43:04.000Z",
"unsubscribed_at": null,
"created_at": "2017-01-25T21:43:04.000Z",
"updated_at": "2017-01-25T21:43:04.000Z",
"carrier": "AT&T Wireless",
"carrier_updated_at": "2017-01-25T21:43:04.000Z",
"added_to_inbox_at": null,
"facebook_id": null,
"sid": "daBoeXvpfadRPgyYaaZJpw",
"account_sid": "p03Gjl8Uzn0RkZSpHXHnrw",
"channel_sid": "p03Gjl8Uzn0RkZSpHXHnrw",
"transport_sid": "p03Gjl8Uzn0RkZSpHXHnrw"
}
Python coming soon.
Node coming soon.