Docs
Get an API key
Flight Webhooks

Replay a delivery

POST
/v1/flight/webhook-subscriptions/{id}/deliveries/{delivery_id}/replay

Send the same event again with a fresh signature. You can replay a delivered or failed delivery, one pending for more than a minute, or one published more than 2 hours 15 minutes ago without a result; anything else is a 409, as is a paused subscription. Your endpoint can receive the event again, so ignore repeats by event ID.

Authorization

x-api-key<token>

Your API key. Issued and revoked from the TrustPixel dashboard; the gateway resolves it to an owning organization on every request.

In: header

Path Parameters

id*string
Match^whs_[a-zA-Z0-9-]+$
Lengthlength <= 128
delivery_id*string
Match^dlv_[a-zA-Z0-9-]+$
Lengthlength <= 128

Header Parameters

x-request-id?string

Correlation id echoed to the upstream service and returned on the response. Generated as req_<uuid> when omitted.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/flight/webhook-subscriptions/whs_0192f3a4b5c64d7e8f9a0b1c2d3e4f5b/deliveries/dlv_0192f3a4b5c64d7e8f9a0b1c2d3e4f5b/replay"
{  "data": {    "id": "dlv_0192f3a4b5c64d7e8f9a0b1c2d3e4f5b",    "status": "PENDING",    "event": {      "id": "string",      "type": "flight.booking.confirmed",      "created_at": "string",      "data": {        "booking": {          "property1": null,          "property2": null        },        "property1": null,        "property2": null      },      "property1": null,      "property2": null    },    "replay_count": 0,    "failure_reason": "retries_exhausted",    "attempts": [      {        "attempt_number": 0,        "response_status": 0,        "response_body": "string",        "created_at": "string"      }    ],    "created_at": "string",    "published_at": "string",    "delivered_at": "string",    "failed_at": "string"  }}