DEVELOPER DOCUMENTATION
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.
/api/partner/v1/webhook-endpoints/{endpointId}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
Section titled “Request”endpointIdstringpathrequiredThe webhook endpoint ID.
urlstringbodyNew delivery URL. Must be HTTPS (http is allowed for localhost only).
eventTypesstring[]bodyReplacement list of event types — at least one.
statusstringbodyACTIVE or DISABLED. ACTIVE re-enables an auto-disabled endpoint and resets consecutiveFailures to 0; DISABLED pauses delivery.
Response
Section titled “Response”webhookEndpointobjectThe updated endpoint: {id, url, eventTypes, status, createdAt, consecutiveFailures, disabledAt, disabledReason} — same shape as GET /webhook-endpoints/{endpointId}.
Errors
Section titled “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 |