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 AuthorizationBearer <token>
An API key created on the Access tokens page.
In: header
Path Parameters
id*string
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": {} }}