Update a webhook object
PATCH
/api/v1/accounts/{account_id}/webhooks/{webhook_id}
Webhooks
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/api/v1/accounts//webhooks/' \
--header 'Content-Type: application/json; charset=utf-8' \
--data-raw '{
"url": "string",
"subscriptions": [
"conversation_created"
]
}'
Response Response Example
200 - Example 1
{
"id": 0,
"url": "string",
"subscriptions": [
"conversation_created"
],
"account_id": 0
}
Request
Path Params
account_id
integerÂ
required
webhook_id
stringÂ
required
Body Params application/json; charset=utf-8