The Webhook Configuration resource allows you to precisely control the effects of account-scoped webhooks. Sending a POST
request to the Webhook Configuration endpoint is equivalent to configuring session webhooks in the Twilio Console.
Good applications of the configured webhooks in Conversations include:
Note: You can send pre-hooks and post-hooks to different targets.
Our guide to Conversations Webhooks includes the specific pre- and post-event webhooks that fire, as well as the webhook payloads.
The unique ID of the Account responsible for this conversation.
^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The HTTP method to be used when sending a webhook request.
GET
POST
The list of webhook event triggers that are enabled for this Service: onMessageAdded
, onMessageUpdated
, onMessageRemoved
, onConversationUpdated
, onConversationRemoved
, onParticipantAdded
, onParticipantUpdated
, onParticipantRemoved
The routing target of the webhook. Can be ordinary or route internally to Flex
webhook
flex
An absolute API resource API resource URL for this webhook.
GET https://conversations.twilio.com/v1/Configuration/Webhooks
POST https://conversations.twilio.com/v1/Configuration/Webhooks
The list of webhook event triggers that are enabled for this Service: onMessageAdded
, onMessageUpdated
, onMessageRemoved
, onConversationUpdated
, onConversationRemoved
, onParticipantAdded
, onParticipantUpdated
, onParticipantRemoved
The absolute url the post-event webhook request should be sent to.
The routing target of the webhook.
webhook
flex
Enable for 'onConversationUpdated' & 'onMessageRemoved' events