Platform API reference
Update Webhook Endpoint
Change a webhook endpoint’s URL, event types, or status. Setting status to ACTIVE re-enables an auto-disabled endpoint and resets its failure counter.
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
The webhook endpoint ID.
New delivery URL. Must be HTTPS (
http is allowed for localhost only).Replacement list of event types — at least one.
ACTIVE or DISABLED. ACTIVE re-enables an auto-disabled endpoint and resets consecutiveFailures to 0; DISABLED pauses delivery.Response
The updated endpoint:
{id, url, eventTypes, status, createdAt, consecutiveFailures, disabledAt, disabledReason} — same shape as GET /webhook-endpoints/{endpointId}.Errors
| Status | code | Meaning |
|---|---|---|
400 | BAD_REQUEST | Body not valid JSON, invalid url, empty/unknown eventTypes, or invalid status |
401 | UNAUTHORIZED | Missing, invalid, or revoked token |
403 | FORBIDDEN | Token lacks webhooks:manage |
404 | NOT_FOUND | No endpoint with this ID on this install |