Replay an organization webhook delivery

Replay an organization webhook delivery

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

POST /organizations/{id}/webhooks/{webhook_id}/deliveries/{delivery}/replay
curl -X POST 'https://www.unitpost.com/api/v1/organizations/org_123/webhooks/wh_123/deliveries/msg_123/replay' \
  -H 'Authorization: Bearer YOUR_ORG_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, with the same id, as POST /webhooks/{id}/deliveries/{delivery}/replay. The endpoint must be enabled. Takes no body. Takes an organization key (ok_live_…) with organizations:write.

Parameters3 fields
FieldTypeDescription
idrequiredstring · pathThe organization's id (`org_…`), from `GET /whoami` or Organization → API.
webhook_idrequiredstring · pathThe organization webhook endpoint's id (`wh_…`).
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.