Webhooks
8 endpoints under /v1/webhooks.
List the org's registered webhook endpoints.
/v1/webhooksRequireswebhooks:read
Headers
X-Organization-IDstringoptional
Failures return the error envelope; branch on error_code.
Register a webhook endpoint and mint a signing secret.
/v1/webhooksThe secret appears only in this response; use /rotate to replace it. Each event type must map to a registered OperationSpec with customer webhook visibility. Unknown types return 400 webhook_event_unknown; platform-internal types return 403 webhook_event_not_subscribable. The synthetic webhook.test event is always accepted.
Requireswebhooks:write
Headers
X-Organization-IDstringoptional
Request body
urlstring (uri)requiredevents_subscribedstring[]requireddescriptionstringoptional
Failures return the error envelope; branch on error_code.
Read a single endpoint's metadata.
/v1/webhooks/{endpoint_id}Requireswebhooks:read
Path parameters
endpoint_idstring (uuid)required
Headers
X-Organization-IDstringoptional
Failures return the error envelope; branch on error_code.
Delete an endpoint.
/v1/webhooks/{endpoint_id}Cascade clears its delivery audit.
Requireswebhooks:write
Path parameters
endpoint_idstring (uuid)required
Headers
X-Organization-IDstringoptional
Failures return the error envelope; branch on error_code.
List recent deliveries for the endpoint, newest first.
/v1/webhooks/{endpoint_id}/deliveriesExposes the dispatcher's audit: HTTP status, response preview and retry schedule.
Requireswebhooks:read
Path parameters
endpoint_idstring (uuid)required
Query parameters
limitintegeroptionaloffsetintegeroptional
Headers
X-Organization-IDstringoptional
Failures return the error envelope; branch on error_code.
Composite delivery-health diagnostic for a single webhook endpoint.
/v1/webhooks/{endpoint_id}/diagnosticsCounts cover the 500 most recent deliveries. Deviations are typed so the SDK and frontend can branch on them.
Requireswebhooks:read
Path parameters
endpoint_idstring (uuid)required
Headers
X-Organization-IDstringoptional
Failures return the error envelope; branch on error_code.
Rotate the signing secret.
/v1/webhooks/{endpoint_id}/rotateReturns the new secret once. Deliveries enqueued after rotation sign with the new secret; in-flight deliveries already in the dispatcher's batch may still sign with the old one. Receivers should accept both for a brief grace window.
Requireswebhooks:write
Path parameters
endpoint_idstring (uuid)required
Headers
X-Organization-IDstringoptional
Failures return the error envelope; branch on error_code.
Fire a synthetic test event at the endpoint.
/v1/webhooks/{endpoint_id}/testPoll GET /v1/webhooks/{id}/deliveries for the outcome. Test events follow the same retry and DLQ semantics as production events.
Requireswebhooks:write
Path parameters
endpoint_idstring (uuid)required
Headers
X-Organization-IDstringoptional
Failures return the error envelope; branch on error_code.