update_webhook_endpoint
Update name, URL, events, keyword rules or active/paused status with expected_revision. Do not redirect notifications without the operator's authorization. Agent/environment scope cannot be changed. Requires webhook.manage.
Instructions
Update name, URL, events, keyword rules or active/paused status with expected_revision. Do not redirect notifications without the operator's authorization. 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. Reuse the exact idempotency_key and input after an uncertain mutation. Webhook docs: https://mailbox.bot/docs/webhooks.
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. Set or change it only on the operator's explicit instruction. 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) from list_webhook_endpoints. | |
| event_types | No | Events to deliver (1–16, unique): inbound.received, inbound.action.requested, inbound.action.completed, inbound.pages_ready, inbound.keywords_matched. Omit to keep the current value. | |
| idempotency_key | Yes | A new UUID for this one intent; reuse it only to retry the identical request. | |
| expected_revision | Yes | The endpoint's current revision from list_webhook_endpoints; a stale revision is refused so concurrent edits are never overwritten. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |