Moonborn — API · admin
Replay every dead-lettered webhook delivery in an org (admin/incident)
Walks the DLQ for an org (+ optional endpoint), creates a fresh pending delivery for each entry up to the per-invocation cap (default 100, max 500). Idempotent: re-invoke until response.replayedIds.length < limit to drain the queue. Audit preserves the original DLQ rows.
POST/v1/admin/webhooks/dead-letter/bulk-replayscope · Bearer (API key or session JWT)
Request body
| Field | Type | Description |
|---|---|---|
| orgIdreq | string | |
| endpointId | string | |
| limit | number |
Responses
200Bulk replay completed
403Forbidden — platform admin only
Body
| Field | Type | Description |
|---|---|---|
| errorreq | object | |
| error.codereq | string | |
| error.messagereq | string |
Examples
cURL
curl -X POST https://api.moonborn.co/v1/admin/webhooks/dead-letter/bulk-replay \
-H "Authorization: Bearer $MOONBORN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"orgId": "<string>"
}'TypeScript
import Moonborn from '@moonborn/sdk';
const client = new Moonborn({ apiKey: process.env.MOONBORN_API_KEY });
const result = await client.admin.adminBulkReplayDeadLetteredWebhooks({
orgId: "<string>",
});Python
import os
from moonborn import Moonborn
client = Moonborn(api_key=os.environ["MOONBORN_API_KEY"])
result = client.admin.admin_bulk_replay_dead_lettered_webhooks(
org_id="<string>",
)