List webhook subscriptions
Returns every webhook subscription in your organization, newest first, as an unpaginated list envelope — data[] holds the webhooks and there is no pagination cursor.
Returns every webhook subscription in your organization, newest first, as an unpaginated list envelope — data[] holds the webhooks and there is no pagination cursor. Each entry carries id, url, the subscribed events, label, status (active or paused), createdAt, and lastDeliveryAt (null until the first successful delivery). Delivery-health fields are also surfaced: consecutiveFailures, autoPaused, and pausedReason — the last is auto:delivery_failures when Dairo disabled an endpoint after repeated failures. Signing secrets are never returned here; the raw secret is shown only once, in the create response. Requires the webhooks:read scope.
Scope: webhooks:read. Send the API key as a bearer token; Scopes lists what each one reaches.
Request
Response
200 Success. Body: application/json, WebhookListResponse.
| Field | Type | Required | Description |
|---|---|---|---|
object | "list" | yes | |
data | array of Webhook | yes | |
pagination | Pagination | yes |
Errors
Every error has the same body, {"error": {"type", "code", "message", "param"}}; branch on code. Errors lists every code.
| Status | Meaning |
|---|---|
400 | The request is malformed or a value is invalid (invalid_request, invalid_domain, idempotency_key_mismatch). |
401 | The API key is missing or invalid. |
403 | The key lacks the scope this endpoint needs (scope_missing) or may not do this (not_permitted). |
404 | No such resource in this account (resource_not_found). |
422 | The request is well-formed but a field failed validation (validation_failed). |
429 | Rate limit, plan limit, budget or spend cap reached (rate_limited, plan_limit_reached, budget_exceeded, spend_cap_reached). |
500 | An unexpected error; retry with backoff, then contact support (internal_error). |
Get one thread with its messages
Fetches one thread by threadId (a UUID) together with its messages, oldest first.
Create a webhook subscription
Registers an active webhook and returns it together with a one-time signingSecret (prefixed whsec_, flagged secretShownOnce) that appears only in this response — store it immediately.