Moonborn — API · webhooks
Paginate the delivery log for an endpoint
GET/v1/webhooks/{id}/deliveriesscope · Bearer (API key or session JWT)
Path parameters
| Field | Type | Description |
|---|---|---|
| idreq | string | Webhook endpoint id (e.g. `whe_*`). |
Query parameters
| Field | Type | Description |
|---|---|---|
| status | string · "pending" | "in_flight" | "succeeded" | "failed" | "dead_letter" | Filter deliveries by lifecycle status. |
| cursor | string | Opaque pagination cursor; omit for the first page. |
| limit | number | Page size (1-100; default 20). |
Responses
200OK
Body
| Field | Type | Description |
|---|---|---|
| itemsreq | object[] | |
| nextCursorreq | string |
401Unauthenticated
Body
| Field | Type | Description |
|---|---|---|
| errorreq | object | |
| error.codereq | string | |
| error.messagereq | string |
404Endpoint not found
Body
| Field | Type | Description |
|---|---|---|
| errorreq | object | |
| error.codereq | string | |
| error.messagereq | string |
Examples
cURL
curl -X GET https://api.moonborn.co/v1/webhooks/<id>/deliveries \ -H "Authorization: Bearer $MOONBORN_API_KEY"
TypeScript
import Moonborn from '@moonborn/sdk';
const client = new Moonborn({ apiKey: process.env.MOONBORN_API_KEY });
const result = await client.webhooks.listWebhookDeliveries({
id: '<id>',
});Python
import os
from moonborn import Moonborn
client = Moonborn(api_key=os.environ["MOONBORN_API_KEY"])
result = client.webhooks.list_webhook_deliveries(
id="<id>",
)