Skip to main content
PATCH
Updates a webhook endpoint. All body fields are optional — send only what you want to change. Setting status to ACTIVE re-enables an auto-disabled endpoint and resets its failure counter. Updating never changes the signing secret, and the secret is never returned. To rotate it, delete the endpoint and create a new one. Requirements: webhooks:manage scope.

Request

string
required
The webhook endpoint ID.
string
New delivery URL. Must be HTTPS (http is allowed for localhost only).
string[]
Replacement list of event types — at least one.
string
ACTIVE or DISABLED. ACTIVE re-enables an auto-disabled endpoint and resets consecutiveFailures to 0; DISABLED pauses delivery.

Response

object
The updated endpoint: {id, url, eventTypes, status, createdAt, consecutiveFailures, disabledAt, disabledReason} — same shape as GET /webhook-endpoints/{endpointId}.

Errors