Webhooks API · deliveries

Send one of the calling app's deliveries again

POST /deliveries/{deliveryId}/redeliver

Send one of the calling app's deliveries again, now — a failed one once the app is fixed, or a delivered one it lost.

The same event id, so the app recognises it. Appends nothing: a delivery is the dispatcher's execution state, not a fact of the organization's. No idempotency key: redelivering is meant to send again, and a second call only queues the same event once more.

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.

Retries

No idempotency key: redelivering is meant to send again, and a second call only queues the same event once more.

Why every write carries a key: Idempotency and retries.

Facts appended

None. This call records nothing in a journal.

What a fact is: Facts and the journal.

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

A failed delivery queued again: it is tried at once, its earlier attempts kept.

curl
curl -X POST 'https://webhooks.getmanifold.io/deliveries/whd_01a158e1-c710-7a3b-8d55-1e9f0c7b2a64/redeliver' \
  -H "Authorization: Bearer $APP_TOKEN"
JavaScript (fetch)
const response = await fetch("https://webhooks.getmanifold.io/deliveries/whd_01a158e1-c710-7a3b-8d55-1e9f0c7b2a64/redeliver", {
  method: "POST",
  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
{
  "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": "pending",
  "attempts": 9,
  "lastStatus": 503,
  "lastError": "answered 503",
  "createdAt": "2026-10-19T11:20:04.000Z",
  "nextAttemptAt": "2026-10-20T12:05:00.000Z"
}

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.

404

RefusalWhat it meansWhat to do
WebhookDeliveryNotFound deliveryId No such record in this organization.Check the id in the path or the body.

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.Send the same request again shortly.

How refusals work everywhere: Errors.