App öffnen
Moonborn — API · webhooks

Paginate the delivery log for an endpoint

GET/v1/webhooks/{id}/deliveriesscope · Bearer (API key or session JWT)
Path parameters
FieldTypeDescription
idreqstringWebhook endpoint id (e.g. `whe_*`).
Query parameters
FieldTypeDescription
statusstring · "pending" | "in_flight" | "succeeded" | "failed" | "dead_letter"Filter deliveries by lifecycle status.
cursorstringOpaque pagination cursor; omit for the first page.
limitnumberPage size (1-100; default 20).

Responses

200OK
Body
FieldTypeDescription
itemsreqobject[]
nextCursorreqstring
401Unauthenticated
Body
FieldTypeDescription
errorreqobject
error.codereqstring
error.messagereqstring
404Endpoint not found
Body
FieldTypeDescription
errorreqobject
error.codereqstring
error.messagereqstring

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>",
)