API referenceWebhooks
Replay a webhook delivery
Sends a delivery's stored payload again, to the subscription's current URL, as a new delivery whose replay_of names the original. It is signed and retried as any delivery, and sent even while the subscription is inactive. A retry with the same Idempotency-Key answers the first replay and sends nothing.
Authorization
apiKey X-API-Key<token>
API key (prefix spk_test_ or spk_live_) or personal access token (prefix pat_)
In: header
Path Parameters
id*string
Subscription ID
deliveryId*string
Delivery ID
Header Parameters
Idempotency-Key*string
Idempotency key that prevents processing a request twice. Use a unique UUID v4 per request.
Length
length <= 255Response Body
application/json
application/json
curl -X POST "https://example.com/webhooks/whs_abc123/deliveries/whd_abc123/replay" \ -H "Idempotency-Key: string"{ "attempt_count": 0, "completed_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "duration_ms": 0, "event_type": "moment.detected", "http_status": 0, "id": "whd_abc123", "next_retry_at": "2019-08-24T14:15:22Z", "payload": { "property1": null, "property2": null }, "replay_of": "whd_abc123", "response_body": "string", "status": "pending", "subscription_id": "string"}