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
| Field | Type | Description |
|---|---|---|
idrequired | string · path | The organization's id (`org_…`), from `GET /whoami` or Organization → API. |
webhook_idrequired | string · path | The organization webhook endpoint's id (`wh_…`). |
deliveryrequired | string · path | The delivery's id (`msg_…`). |
Response · 202 fields4 fields
| Field | Type | Description |
|---|---|---|
objectrequired | enumwebhook_delivery_replay | — |
webhook_idrequired | string | — |
delivery_idrequired | string | — |
replayedrequired | enumtrue | — |
202400401403404409422429502