Skip to main content
Veyndi AML
Documentation contents

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}/replay

Retry a dead-letter webhook delivery

Required permission: integrations.webhook.managereplayWebhookDelivery
Show parameters and responses

Parameters

NameInTypeDescription
deliveryIDrequiredpathstring—

Responses

  • 204Replay queued with the original immutable event ID
  • 409Delivery is not a dead letter
GET/v1/webhooks

List signed domain-event subscriptions

Required permission: integrations.webhook.managelistWebhooks
Show parameters and responses

Parameters

NameInTypeDescription
limitqueryintegerPage size, capped at 200.
cursorquerystringOpaque 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/webhooks

Register 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 responses

Responses

  • 201Subscription and one-time secretRegisteredWebhook
  • 400—
PATCH/v1/webhooks/{subscriptionID}

Enable or disable a webhook subscription

Required permission: integrations.webhook.manageupdateWebhook
Show parameters and responses

Parameters

NameInTypeDescription
subscriptionIDrequiredpathstring—

Responses

  • 204Subscription updated
  • 400—
  • 404—
GET/v1/webhooks/{subscriptionID}/deliveries

Inspect webhook attempts and dead letters

Required permission: integrations.webhook.managelistWebhookDeliveries
Show parameters and responses

Parameters

NameInTypeDescription
limitqueryintegerPage size, capped at 200.
cursorquerystringOpaque 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.
subscriptionIDrequiredpathstring—

Responses

  • 200Delivery register with explicit truncation when more than 200 items exist.WebhookDeliveryPage