Update a webhook endpoint
update_webhookChange a webhook endpoint's URL or event subscriptions, or pause/resume it via active flag. Use it to control which WhatsApp events your endpoint receives.
Instructions
Change a webhook endpoint's URL or events, or pause it (active: false) and resume it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"webhookEndpointId": "<webhookEndpointId>"
},
"name": "update_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| active | No | ||
| events | No | Event types to receive, such as `message.received`, `message.sent`, `message.failed`, `account.connected`, `account.disconnected`. | |
| webhookEndpointId | Yes | The webhook endpoint id, from list_webhooks. |