update_webhook_endpoint
Update name, URL, events, keyword rules or active/paused status with expected_revision. Agent/environment scope cannot be changed. Requires webhook.manage. Uses the same bounded control plane and tenant/agent/Live-Sandbox authorization as /api/v1/webhooks/endpoints. A repeated idempotency_key with the same input replays the stored result.
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": {
"expected_revision": "<expected_revision>",
"idempotency_key": "<idempotency_key>",
"endpoint_id": "<endpoint_id>"
},
"name": "update_webhook_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public HTTPS URL on port 443 (no credentials, fragment or private host) that receives the signed POSTs. Omit to keep the current value. | |
| name | No | Label shown in the dashboard and delivery log. Omit to keep the current value. | |
| rules | No | Up to 10 keyword rules, each with a unique id: source (envelope, letter for the contents, or any), match (any or all), 1–20 terms and optional exclude_terms. inbound.keywords_matched fires when a rule matches. Omit to keep the current value. | |
| status | No | active or paused. Omit to keep the current value. | |
| endpoint_id | Yes | Webhook endpoint id (UUID). | |
| event_types | No | Events to deliver (1–32, unique). Inbound mail: inbound.received, inbound.action.requested, inbound.action.completed, inbound.pages_ready, inbound.keywords_matched. Outbound mail: mail.pending_approval, mail.submitted, mail.ready, mail.mailed, mail.delivered, mail.failed, mail.cancelled. Batches: batch.submitted, batch.completed, batch.partially_completed, batch.failed, batch.cancelled, batch.piece.scanned, batch.piece.confirmed. Omit to keep the current value. | |
| idempotency_key | Yes | A UUID for this one intent; the same key replays the identical request. | |
| expected_revision | Yes | The endpoint's current revision; a stale revision is refused so concurrent edits are never overwritten. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |