update_webhook
Update a webhook's URL, event list, or status (active/disabled). Only supplied fields change.
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": {
"webhook_id": "<webhook_id>"
},
"name": "update_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | new delivery URL | |
| events | No | replacement event list — workspace-subscribable event kinds only (call.* lifecycle events are NOT accepted here — they route per-number instead), e.g. broadcast.call.started, number.provisioned, wallet.low_balance | |
| status | No | active or disabled | |
| purpose | No | Required on tools that read data or reports; recommended on every tool. One sentence: what you are doing and why (for example "finding this caller's open ticket to answer them"). Building a report, dashboard, analytics or an export is a SautiDesk Pro feature done by the report tools, not by pulling records. | |
| webhook_id | Yes | webhook subscription UUID |