Fetch a specific service webhook configuration.
A service webhook configuration resource manages a service-level set of callback URLs and their configuration for receiving all the corresponding service events.
Fetch a specific service webhook configuration.
Path parameters
-
The unique ID of the Conversation Service this conversation belongs to.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^IS[0-9a-fA-F]{32}$
.
GET
/v1/Services/{ChatServiceSid}/Configuration/Webhooks
curl \
--request GET 'https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Configuration/Webhooks' \
--user "username:password"
Response examples (200)
Fetch
{
"url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Configuration/Webhooks",
"method": "POST",
"filters": [
"onMessageRemove",
"onParticipantAdd"
],
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"pre_webhook_url": "https://www.example.com/pre",
"chat_service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"post_webhook_url": "https://www.example.com/post"
}
{
"url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Configuration/Webhooks",
"method": null,
"filters": null,
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"pre_webhook_url": null,
"chat_service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"post_webhook_url": null
}