Update a webhook endpoint
Updates an endpoint’s label, URL, enabled state, or event allowlist. Disabled endpoints stop receiving new webhook events. agent_id is not updatable — see the request schema.
Authorizations
API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.
Path Parameters
Webhook endpoint ID.
Body
New endpoint label. Unique per account. The reserved default label cannot be assigned manually, and the default endpoint cannot be renamed away from it.
^[a-z0-9][a-z0-9-]{0,30}$New HTTPS webhook URL.
Whether this endpoint should receive new webhook events.
Replacement event allowlist. Send [] to receive every event type. The whole array is validated, so it must contain only currently valid event names.
A webhook event type. This is the complete catalog and the only set accepted in an endpoint's events allowlist. webhook.test is deliberately absent: it is fired only by POST /config/webhooks/{id}/test and always reaches the endpoint being tested regardless of its allowlist. There is no session.failed event — a session that ends in a terminal failure is delivered as session.completed with duration_seconds: 0, transcript: null, and a terminal call.status.
session.completed, call.status.updated, call.transferred, whatsapp.message.sent, whatsapp.message.failed, whatsapp.message.status_updated