List channel sender
A Messaging Service resource to read, fetch all Channel Senders associated with a Messaging Service.
Path parameters
-
The SID of the Service to read the resources from.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^MG[0-9a-fA-F]{32}$
.
GET
/v1/Services/{MessagingServiceSid}/ChannelSenders
curl \
--request GET 'https://messaging.twilio.com/v1/Services/{MessagingServiceSid}/ChannelSenders' \
--user "username:password"
Response examples (200)
{
"meta": {
"key": "senders",
"url": "https://messaging.twilio.com/v1/Services/MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelSenders?PageSize=20&Page=0",
"page": 0,
"page_size": 20,
"next_page_url": null,
"first_page_url": "https://messaging.twilio.com/v1/Services/MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelSenders?PageSize=20&Page=0",
"previous_page_url": null
},
"senders": [
{
"sid": "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://messaging.twilio.com/v1/Services/MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelSenders/XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"sender": "whatsapp:+12487960483",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"sender_type": "WhatsApp",
"country_code": "US",
"date_created": "2023-07-30T20:12:31Z",
"date_updated": "2023-07-30T20:12:33Z",
"messaging_service_sid": "MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
{
"sid": "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
"url": "https://messaging.twilio.com/v1/Services/MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelSenders/XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
"sender": "messenger:104794531907950",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"sender_type": "Messenger",
"country_code": "US",
"date_created": "2023-07-30T20:12:31Z",
"date_updated": "2023-07-30T20:12:33Z",
"messaging_service_sid": "MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
{
"sid": "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaac",
"url": "https://messaging.twilio.com/v1/Services/MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelSenders/XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaac",
"sender": "rcs:ms_dev_ttatqler_agent",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"sender_type": "RCS",
"country_code": "US",
"date_created": "2023-07-30T20:12:31Z",
"date_updated": "2023-07-30T20:12:33Z",
"messaging_service_sid": "MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
]
}