Update a Webhook Endpoint
Updates a webhook endpoint’s URL, events, or active state.
PATCH
Requires the
webhooks:write scope. Send only the fields you want to change.
Path parameters
The id of the webhook endpoint.
Body
A new HTTPS URL for deliveries.
Replace the events this endpoint is subscribed to. Must be a non-empty list of valid event names.
Enable or disable the endpoint. Setting
is_active: true on a disabled endpoint re-enables it and clears its failure state (disabled_reason, disabled_at, and consecutive_failures are reset).Response
Returns the updated endpoint. Thesecret is not returned.
The webhook endpoint's unique id.
The HTTPS URL deliveries are POSTed to.
The events this endpoint is subscribed to.
Whether the endpoint is currently active. A disabled endpoint receives no deliveries.
Why the endpoint was disabled, if it is. One of
manual, 410_gone, or too_many_failures. null when active.The datetime (UTC) the endpoint was disabled, if it is.
The number of consecutive failed deliveries. Resets to
0 on a successful delivery or when the endpoint is re-enabled.The datetime (UTC) the endpoint was created.
The datetime (UTC) the endpoint was last updated.

