Replay a delivery

Replay a delivery

POST/api/v1/webhooks/{id}/deliveries/{delivery}/replay

POST /webhooks/{id}/deliveries/{delivery}/replay
curl -X POST 'https://www.unitpost.com/api/v1/webhooks/wh_123/deliveries/delivery_123/replay' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'User-Agent: my-app/1.0'
Response · 202
{
  "object": "webhook_delivery_replay",
  "webhook_id": "webhook_123",
  "delivery_id": "delivery_123",
  "replayed": true
}

Deliver one event to the endpoint again, as the dashboard's Replay does. The same event goes out with the same id, so a receiver that dedupes on it treats the replay as the delivery it already has. The webhook must be enabled: re-enable a disabled or suspended one with Update a webhook endpoint first. Find deliveries with List a webhook's deliveries. Takes no body. Requires the webhooks:manage capability.

Parameters2 fields
FieldTypeDescription
idrequiredstring · path—
deliveryrequiredstring · pathThe delivery's id (`msg_…`).
Response · 202 fields4 fields
FieldTypeDescription
objectrequiredenumwebhook_delivery_replay—
webhook_idrequiredstring—
delivery_idrequiredstring—
replayedrequiredenumtrue—
202400401403404409422429502

Search docs and guides

Search the docs and product guides.