---
title: "Replay a delivery"
method: POST
path: "/v1/webhook_deliveries/{id}/replay"
tags: ["Webhook endpoints"]
---

# Replay a delivery

`POST /v1/webhook_deliveries/{id}/replay`

## Request

- Base URL: `https://api.affiliaterail.com`
- URL: `https://api.affiliaterail.com/v1/webhook_deliveries/{id}/replay`
- Auth: HTTP bearer

Queues a fresh delivery carrying the original payload and the original `webhook-id`, so a consumer that de-duplicates is unaffected. The original log row stays exactly as it was.

**Scope:** `webhooks:write` (or `write`)

## Path parameters

- `id` string, required: Prefixed id (`whd_…`)

## Response `200`

The queued replay

- object
  - `object` 'webhook_replay', required
  - `delivery_id` string, required: The new pending delivery
  - `replay_of` string, required

## Other responses

- `400`: Invalid request
- `401`: Missing or unknown API key
- `403`: Key lacks the required scope
- `404`: No such object in your organization
- `422`: The request was understood and refused
- `429`: Rate limited: see Retry-After

---

[API](https://skmtc.dev/affiliaterail/apis/affiliaterail-api.md) · [All operations](https://skmtc.dev/affiliaterail/apis/affiliaterail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/affiliaterail/apis/affiliaterail-api/revisions/ea41f345c092?raw)
