JavaScript SDK: swarmhit.webhooks.deliveries.list(params?)
Every event delivery across all of the workspace's endpoints, newest
first, with the full payload on each row. Filter by event, status or
endpoint. Rows are dropped 7 days after creation, so poll or export to
keep a permanent record.
Authorization
bearerAuth An API key created on the Access tokens page.
In: header
Query Parameters
Restrict to one event type (e.g. message.received).
Value in
- "pending"
- "delivered"
- "failed"
Restrict to one endpoint.
Page size, 1–100.
1 <= value <= 10050Number of records to skip.
0 <= value0Response Body
application/json
application/json
curl -X GET "https://example.com/webhooks/deliveries"{ "data": [ { "id": "string", "webhookId": "string", "event": "string", "url": "string", "status": "pending", "attempts": 0, "responseStatus": 0, "lastError": "string", "nextAttemptAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "deliveredAt": "2019-08-24T14:15:22Z", "payload": {} } ], "paging": { "limit": 0, "offset": 0, "total": 0 }}List webhook endpoints GET
**JavaScript SDK:** [`swarmhit.webhooks.list(params?)`](/smart-api/sdk/methods#webhooks)
Replay a delivery POST
**JavaScript SDK:** [`swarmhit.webhooks.deliveries.resend(deliveryId)`](/smart-api/sdk/methods#webhooks.deliveries) Re-queues a past delivery to its endpoint's current URL as a fresh delivery (a new `id`, so a consumer that dedupes will re-process it). The endpoint must still exist and be enabled.