AgentBots
Inbox API
Conversations API
Contact Labels
CSAT Survey Page
Account AgentBots
Agents
Canned Responses
Canned Response
Custom Attributes
Contacts
Automation Rule
Help Center
Conversations
Conversation Assignment
Conversation Labels
Inboxes
Integrations
Profile
Teams
Custom Filters
Webhooks
Update a webhook object
Webhooks
Update a webhook object
Update a webhook object in the account
PATCH
/
api
/
v1
/
accounts
/
{account_id}
/
webhooks
/
{webhook_id}
curl --request PATCH \
--url https://app.chatwoot.com/api/v1/accounts/{account_id}/webhooks/{webhook_id} \
--header 'Content-Type: application/json' \
--data '{
"url": "<string>",
"subscriptions": [
"conversation_created"
]
}'
{
"id": 123,
"url": "<string>",
"subscriptions": [
"conversation_created"
],
"account_id": 123
}
Path Parameters
The numeric ID of the account
The numeric ID of the webhook
Body
application/json
Response
200
application/json
Success
The response is of type object
.
curl --request PATCH \
--url https://app.chatwoot.com/api/v1/accounts/{account_id}/webhooks/{webhook_id} \
--header 'Content-Type: application/json' \
--data '{
"url": "<string>",
"subscriptions": [
"conversation_created"
]
}'
{
"id": 123,
"url": "<string>",
"subscriptions": [
"conversation_created"
],
"account_id": 123
}