Update webhook
Update a webhook endpoint’s status, enabled events, or both atomically.
Provide at least one of status or enabledEvents. Omitted fields remain unchanged.
Set enabledEvents to a nonempty array of recognized webhook event names to replace the current selection,
or to null to receive all events. Omit it to keep the current selection.
Status transitions:
active: Re-enables the endpoint. Use this to:- Unpause a paused endpoint
- Re-enable an endpoint that is backing-off or disabled due to delivery failures
- When re-enabled, any queued notifications will be sent
paused: Pauses the endpoint. While paused:- New notifications are queued (not lost)
- No delivery attempts are made
- Use
activeto resume and process queued notifications
archived: Permanently archives the endpoint (soft delete)
Note: The backing-off and disabled statuses are system-managed and cannot be set directly.
These occur automatically when delivery failures are detected. Use active to re-enable.
Authorizations
API key authentication for public API requests.
Keys come in two flavors:
- Legal-entity-scoped keys are pinned to a single legal entity. Minted via the dashboard under a specific entity; every request acts on that entity.
- User-scoped keys are pinned to a user and span every legal
entity that user has access to. Every request made with a
user-scoped key (except
GET /legal-entity, which lists the legal entities the user can access) must include anx-legal-entityheader naming the legal entity the request is operating on. Requests without the header are rejected with400. The authenticated user must have an active permission role on the supplied legal entity, otherwise the request is rejected with403.
Body
Response
OK
The current status of the webhook endpoint:
active: The webhook is enabled and receiving events normally.paused: The webhook has been paused by the user. Events are queued and will be delivered when the endpoint is set back toactive.backing-off: The system is temporarily backing off due to delivery failures. Delivery will be automatically retried atbackingOffUntil. You can also immediately re-enable by setting status toactivevia the PATCH endpoint.disabled: The webhook has been automatically disabled due to repeated delivery failures. Re-enable by setting status toactivevia the PATCH endpoint.
active, paused, backing-off, disabled