Fetch channel webhook
Webhooks for specific channels
Path parameters
-
The SID of the Service with the Channel to fetch the Webhook resource from.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^IS[0-9a-fA-F]{32}$
. -
The SID of the Channel the Channel Webhook resource to fetch belongs to. This value can be the Channel resource's
sid
orunique_name
. -
The SID of the Channel Webhook resource to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^WH[0-9a-fA-F]{32}$
.
GET
/v2/Services/{ServiceSid}/Channels/{ChannelSid}/Webhooks/{Sid}
curl \
--request GET 'https://chat.twilio.com/v2/Services/{ServiceSid}/Channels/{ChannelSid}/Webhooks/{Sid}' \
--user "username:password"
Response examples (200)
{
"sid": "WHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://chat.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Webhooks/WHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"type": "studio",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2016-03-24T21:05:50Z",
"date_updated": "2016-03-24T21:05:50Z",
"configuration": {
"flow_sid": "FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
}