JavaScript SDK: swarmhit.webhooks.deliveries.resend(deliveryId)
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.
Authorization
bearerAuth An API key created on the Access tokens page.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/webhooks/deliveries/string/resend"{ "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": {} }}List the delivery log GET
**JavaScript SDK:** [`swarmhit.webhooks.deliveries.list(params?)`](/smart-api/sdk/methods#webhooks.deliveries) 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.
Send a test delivery POST
**JavaScript SDK:** [`swarmhit.webhooks.test(webhookId)`](/smart-api/sdk/methods#webhooks) Fires a one-off `webhook.test` delivery and returns the result immediately. Does not retry or affect the endpoint's health counters.