---
title: "Replay Delivery"
method: POST
path: "/webhooks/{id}/deliveries/{delivery_id}/replay"
tags: ["Webhooks"]
---

# Replay Delivery

`POST /webhooks/{id}/deliveries/{delivery_id}/replay`

Re-sends the exact payload of a past delivery to the webhook's current URL and returns the delivery result. By default the replay keeps the original `webhook-id`, so consumers that deduplicate on it can drop events they already processed. Pass `regenerate_id` to re-send under a freshly generated `webhook-id` instead, so a deduplicating consumer processes the replay as a new message. Only available for enabled webhooks on API version v1; deliveries are retained for 30 days.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `regenerate_id` boolean — Re-send the delivery under a freshly generated `webhook-id` (in both the envelope and the signed headers) instead of the original one. Defaults to false. Use this when your endpoint deduplicates on `webhook-id` and you want it to process the replay as a new message.

## Response `200`

delivery replayed

- object
  - `body` string, required — The body your endpoint returned for the replayed request, as raw text. Empty when the endpoint could not be reached.
  - `status` integer, required — The HTTP response code your endpoint returned for the replayed request, or 0 when it could not be reached (timeout, DNS, or connection failure).
  - `success` boolean, required — Whether your endpoint acknowledged the replay with a 2xx response.

## Other responses

- `400` — Invalid Parameters
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Resource not found
- `409` — Conflict

---

[API](https://skmtc.net/whop/apis/whop-api.md) · [All operations](https://skmtc.net/whop/apis/whop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/whop/whop-api/revisions/715c4defcbbf/schema)
