Webhooks API · deliveries

The calling app's delivery log

GET /deliveries

The calling app's delivery log, newest first: each event's delivery to one of its subscriptions, its attempts, the app's last answer and when it is tried next.

Narrow to a subscriptionId or a status; page with before.

Access

Requires a signed-in session: an app token: subscriptions and their deliveries belong to the calling app alone, and each topic is held to its own grant

Send Authorization: Bearer $APP_TOKEN.

How scopes come from roles: Scopes and roles. Getting a token: Authentication and app tokens.

AI agent tool

No agent tool. An app's webhook plumbing — its subscriptions, delivery log and signing secret — answers that app's own token alone; an agent acts as a person and reads what happened through the journals' tools instead.

Connecting an agent: AI agents.

Example

curl
curl -X GET 'https://webhooks.getmanifold.io/deliveries?subscriptionId=whs_01a158d9-6a70-7aa9-a2e3-50b645a781d0&limit=2' \
  -H "Authorization: Bearer $APP_TOKEN"
JavaScript (fetch)
const response = await fetch("https://webhooks.getmanifold.io/deliveries?subscriptionId=whs_01a158d9-6a70-7aa9-a2e3-50b645a781d0&limit=2", {
  method: "GET",
  headers: { Authorization: `Bearer ${process.env.APP_TOKEN}` },
});
if (!response.ok) throw new Error(`${response.status}: ${await response.text()}`);
const answer = await response.json();
Response · 200 · application/json
{
  "items": [
    {
      "id": "whd_01a158e3-de38-7b52-a1f7-8c4e2d9b0a13",
      "subscriptionId": "whs_01a158d9-6a70-7aa9-a2e3-50b645a781d0",
      "eventId": "whe_01a158e3-1b20-7c44-9e0a-5f3d8c2b7e91",
      "topic": "shipment.shipped",
      "status": "delivered",
      "attempts": 1,
      "lastStatus": 200,
      "createdAt": "2026-10-20T11:42:10.000Z",
      "deliveredAt": "2026-10-20T11:42:11.000Z"
    },
    {
      "id": "whd_01a158e1-c710-7a3b-8d55-1e9f0c7b2a64",
      "subscriptionId": "whs_01a158d9-6a70-7aa9-a2e3-50b645a781d0",
      "eventId": "whe_01a158e0-af10-7f21-b3c8-6d2e4a9f1b70",
      "topic": "order.created",
      "status": "failed",
      "attempts": 9,
      "lastStatus": 503,
      "lastError": "answered 503",
      "createdAt": "2026-10-19T11:20:04.000Z"
    }
  ],
  "next": "whd_01a158e1-c710-7a3b-8d55-1e9f0c7b2a64"
}

The panel writes this call in other languages. It does not send it: Manifold's APIs do not take calls from a web page on another site, so run the call from your own code or terminal. The whole API as OpenAPI: webhooks.openapi.json. Base URL https://webhooks.getmanifold.io.

Errors

Every refusal is a status and a JSON body whose _tag names it. A refused call changes nothing.

401

RefusalWhat it meansWhat to do
Unauthorized reason The token is missing, expired or not one Manifold issued.Get a fresh token and send the call again.
TokenAlreadyUsed tokenId A single-use app token was already spent.Mint a new token for this call.

402

RefusalWhat it meansWhat to do
SubscriptionRequired status The organization's subscription has lapsed, so writes are refused.An owner settles billing. Reads still work meanwhile.

403

RefusalWhat it meansWhat to do
AppTokenRequired reason Only an app's own token may call this, not a person's.Call it with the app's token.
TenantRequired userId The token names no organization.Choose the organization, then get a new token.
ScopeRequired required The token's roles do not grant the scope this call needs.Ask an owner or admin for a role that grants it.

409

RefusalWhat it meansWhat to do
MirroredFromSource source This area is fed by your source system until the organization goes live.Make the change in the source system, or go live first.

503

RefusalWhat it meansWhat to do
RequestLogUnavailable tokenId, reason The service could not record the request, so it did nothing.Try again shortly.

How refusals work everywhere: Errors.