API reference
Integrations
5 operations in this area of the contract. Every one declares the permission it requires.
Contract version 0.3.0All areas
Operations
POST
/v1/webhook-deliveries/{deliveryID}/replayRetry a dead-letter webhook delivery
Required permission: integrations.webhook.managereplayWebhookDelivery
Show parameters and responsesHide parameters and responses
Parameters
| Name | In | Type | Description |
|---|---|---|---|
deliveryIDrequired | path | string | — |
Responses
204Replay queued with the original immutable event ID409Delivery is not a dead letter
GET
/v1/webhooksList signed domain-event subscriptions
Required permission: integrations.webhook.managelistWebhooks
Show parameters and responsesHide parameters and responses
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | Page size, capped at 200. |
cursor | query | string | Opaque keyset cursor from a previous response. Offset pagination is deliberately not offered: `OFFSET 500000` is a table scan, and if it were offered it would be used (ADR-0012). Only the collections that document this parameter can be resumed. The rest report `truncated: true` and refuse a cursor rather than silently returning the first page again — see the `truncated` field on the page schemas. |
Responses
200A cursor-paged subscription register; signing secrets are never listed.WebhookPage
POST
/v1/webhooksRegister a public HTTPS event receiver
Required permission: integrations.webhook.managecreateWebhook
The returned random signing secret is shown only once. Delivery authenticates timestamp plus body with HMAC-SHA256 and is at least once; deduplicate X-Baobyte-Event-ID. Redirects and private network addresses are refused. Subscription changes and replays are audited.
Show parameters and responsesHide parameters and responses
Responses
201Subscription and one-time secretRegisteredWebhook400—
PATCH
/v1/webhooks/{subscriptionID}Enable or disable a webhook subscription
Required permission: integrations.webhook.manageupdateWebhook
Show parameters and responsesHide parameters and responses
Parameters
| Name | In | Type | Description |
|---|---|---|---|
subscriptionIDrequired | path | string | — |
Responses
204Subscription updated400—404—
GET
/v1/webhooks/{subscriptionID}/deliveriesInspect webhook attempts and dead letters
Required permission: integrations.webhook.managelistWebhookDeliveries
Show parameters and responsesHide parameters and responses
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | Page size, capped at 200. |
cursor | query | string | Opaque keyset cursor from a previous response. Offset pagination is deliberately not offered: `OFFSET 500000` is a table scan, and if it were offered it would be used (ADR-0012). Only the collections that document this parameter can be resumed. The rest report `truncated: true` and refuse a cursor rather than silently returning the first page again — see the `truncated` field on the page schemas. |
subscriptionIDrequired | path | string | — |
Responses
200Delivery register with explicit truncation when more than 200 items exist.WebhookDeliveryPage