Skip to main content
POST
Replay a delivery
  • Credential: an account API key. A trial key returns 401 unauthorized.
  • Line-scoped keys: the list of a line-scoped key is not applied here: the key replays any delivery of the account.
  • Idempotency-Key: not honored. A call sent twice creates two deliveries of the same event, with the same event_id.
  • Events: none. The operation delivers again the event of the delivery, with its event_id and its content unchanged: it creates no new event.
  • Guide: Replays. Only a delivery whose status is success or failed can be replayed, while its record exists. The replay goes to the URL the subscription has now, signed with the secret it has now.

Errors

The errors that every operation shares are in Errors.

Authorizations

Authorization
string
header
required

An API key created in the iSnap dashboard, or a trial key, sent as Authorization: Bearer <key>. An API key starts with isnap_live_ or isnap_test_; both act on the same account, lines and billing. A trial key acts on its trial only.

Path Parameters

id
string
required

Id of the webhook subscription, as returned in id by POST /v1/webhooks: wh_ followed by 25 letters or digits.

Pattern: ^wh_[0-9A-Za-z]{25}$
Example:

"wh_3Kp8Rn9Fh2Lm5Qx7Vw1Yz4Bc6"

delivery_id
string
required

Id of the delivery to replay, as returned in id by GET /v1/webhooks/{id}/deliveries: whd_ followed by 25 letters or digits.

Pattern: ^whd_[0-9A-Za-z]{25}$
Example:

"whd_8Tc4Vn1Kq6Zr3Mx9Hb2Yf7Lp5"

Response

The new delivery, not sent yet.

success
enum<boolean>
required

Always true on a success response.

Available options:
true
data
object
required

The delivery that a replay created.

trace_id
string
required

Trace id of the request that produced this response: 32 lowercase hexadecimal characters. Quote it when you report a problem to iSnap.

request_id
string
required

Id of the request that produced this response: req_ followed by 25 letters or digits.