PostZen
Webhooks

Redeliver a webhook event

POST
/v1/webhook-deliveries/{deliveryId}/redeliver

Queues a new six-attempt delivery run on the retained delivery record while preserving its event id and attempt history. The endpoint must still exist and be active, and the delivery must not already be in progress.

Authorization

bearerAuth
AuthorizationBearer <token>

PostZen API key.

In: header

Path Parameters

deliveryId*string

PostZen webhook delivery id.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/webhook-deliveries/string/redeliver"
{  "message": "string",  "delivery": {    "event": "post.published",    "eventId": "string",    "deliveryId": "string",    "resourceId": "string",    "status": "pending",    "attemptCount": 0,    "lastHttpStatus": 100,    "lastErrorCode": "string",    "lastDurationMs": 0,    "createdAt": "2019-08-24T14:15:22Z",    "lastAttemptAt": "2019-08-24T14:15:22Z",    "deliveredAt": "2019-08-24T14:15:22Z",    "nextAttemptAt": "2019-08-24T14:15:22Z"  }}
{  "error": "Unauthorized"}
{  "error": "API key requires read_write permission"}
{  "error": "Not found"}
{  "error": "string"}
{  "error": "rate_limited",  "retryAfter": 30}
{  "error": "Failed to create post"}