Get channel Subscriber

Get a channel Subscriber by SID or phone number

Resource URL:

GET https://api.essential.to/v2/account/channels/{sid}/subscribers/{sid_or_phone_number}?properties=true

Resource information:

Response formatJSON
Requires authentication?Yes

Parameters:

properties
optional

boolean to include subscriber properties in the results

Sample code:

curl -X GET \
     -u '[SID]:[TOKEN]' \
     'https://api.essential.to/v2/account/channels/p03Gjl8Uzn0RkZSpHXHnrw/subscribers/2062294311'

# Sample response
  {
    "phone_number": "2062294311",
    "status": "subscribed",
    "subscribed_at": "2017-02-10T23:59:59.000Z",
    "unsubscribed_at": null,
    "created_at": "2017-01-24T01:24:53.000Z",
    "updated_at": "2017-02-11T00:37:04.000Z",
    "carrier": "T-Mobile USA, Inc.",
    "carrier_updated_at": "2017-01-24T01:24:53.000Z",
    "added_to_inbox_at": null,
    "facebook_id": null,
    "sid": "p03Gjl8Uzn0RkZSpHXHnrw",
    "account_sid": "p03Gjl8Uzn0RkZSpHXHnrw",
    "channel_sid": "p03Gjl8Uzn0RkZSpHXHnrw",
    "transport_sid": "p03Gjl8Uzn0RkZSpHXHnrw"
  }
Python coming soon.
Node coming soon.