Update an existing conversation-scoped webhook
A Conversation-scoped Webhook resource manages a set of callback URLs and their configuration for receiving events specific to one conversation.
Update an existing conversation-scoped webhook
Path parameters
-
The SID of the Conversation Service the Participant resource is associated with.
-
The unique ID of the Conversation for this webhook.
-
A 34 character string that uniquely identifies this resource.
Body
-
Configuration.Filters array[string]
The list of events, firing webhook event for this Conversation.
-
Configuration.FlowSid string
The studio flow SID, where the webhook should be sent to.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^FW[0-9a-fA-F]{32}$
. -
Configuration.Method string
The HTTP method to be used when sending a webhook request.
Values are
GET
orPOST
. -
Configuration.Triggers array[string]
The list of keywords, firing webhook event for this Conversation.
-
Configuration.Url string
The absolute url the webhook request should be sent to.
curl \
-X POST https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Conversations/{ConversationSid}/Webhooks/{Sid} \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'Configuration.Filters=string&Configuration.FlowSid=string&Configuration.Method=GET&Configuration.Triggers=string&Configuration.Url=string'
{
"Configuration.Filters": [
"string"
],
"Configuration.FlowSid": "string",
"Configuration.Method": "GET",
"Configuration.Triggers": [
"string"
],
"Configuration.Url": "string"
}
{
"Configuration.Filters": [
"string"
],
"Configuration.FlowSid": "string",
"Configuration.Method": "GET",
"Configuration.Triggers": [
"string"
],
"Configuration.Url": "string"
}
{
"account_sid": "string",
"chat_service_sid": "string",
"conversation_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"sid": "string",
"target": "string",
"url": "https://example.com"
}
{
"account_sid": "string",
"chat_service_sid": "string",
"conversation_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"sid": "string",
"target": "string",
"url": "https://example.com"
}