# Replay a delivery

> For the complete documentation index, see [llms.txt](https://www.shortsintel.com/llms.txt). Every docs page is also available as markdown: add .md to its URL. To connect, read [agents.md](https://www.shortsintel.com/agents.md).

POST `/v1/webhooks/{id}/deliveries/{deliveryId}/replay`

Queues a new delivery row carrying the same event id and the same body.

- Duplicates: the stable event id lets a receiver that did eventually process the original recognise the replay as a duplicate.
- Log: the new row keeps "we failed on Tuesday, you replayed on Thursday" visible in the log.
- Access: Owner or admin only: a MEMBER's key or connection gets 403 `forbidden`.

## Price

Free.

## Parameters

| Name | In | Type | Required | Default | Description |
| --- | --- | --- | --- | --- | --- |
| `id` | path | `string` | Required | — | Webhook endpoint id. |
| `deliveryId` | path | `string` | Required | — | Delivery id to replay. |

## Responses

### 202 Accepted

`{ delivery }` — queued.

object

- `delivery` object required
  - `id` string required
  - `event_id` string required Stable across replays, so a receiver can de-duplicate.
  - `event_type` string required one of `run.completed`, `tracker.changed`, `webhook.test`
  - `status` string required one of `pending`, `delivered`, `failed`
  - `attempts` integer required
  - `response_status` integer required nullable
  - `error` string required nullable
  - `run_id` string required nullable
  - `tracker_id` string required nullable
  - `change_report_id` string required nullable
  - `replay_of` string required nullable
  - `created_at` string required
  - `last_attempt_at` string required nullable
  - `delivered_at` string required nullable
  - `failed_at` string required nullable

### 400 Bad Request

`invalid_request` if the original is still being attempted, or the endpoint is not active.

Code: `invalid_request`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

### 401 Unauthorized

Codes: `missing_authorization`, `invalid_key`, `key_revoked`, `key_expired`, `invalid_token`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

### 403 Forbidden

`forbidden` — the key's or connection's user is a MEMBER; only an owner or admin manages webhooks.

Code: `forbidden`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

### 404 Not Found

Code: `not_found`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

## Related guides

This call creates a Run. It can answer `202` with the running Run. Poll [`GET /v1/runs/{id}`](https://www.shortsintel.com/docs/reference/runs/get-run) until it settles; re-reading a Run is free.

- [Runs](https://www.shortsintel.com/docs/concepts/runs): How a call becomes a Run, waiting inline, polling and free re-reads.
- [Webhooks](https://www.shortsintel.com/docs/concepts/webhooks): The events we send, how to verify a signature, what happens when your endpoint is down, and how to rotate a secret.

## Request samples

curl:

```bash
curl -X POST "https://www.shortsintel.com/v1/webhooks/whe_6d2f10ab44/deliveries/whd_51c8b0f7e3/replay" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
```

TypeScript:

```typescript
const response = await fetch(
  "https://www.shortsintel.com/v1/webhooks/whe_6d2f10ab44/deliveries/whd_51c8b0f7e3/replay",
  {
    method: "POST",
    headers: {
      "Authorization": "Bearer sk_live_YOUR_KEY",
    },
  },
);

if (!response.ok) {
  throw new Error(`ShortsIntel ${response.status}`);
}

const data = await response.json();
```

Python:

```python
import requests

response = requests.post(
    "https://www.shortsintel.com/v1/webhooks/whe_6d2f10ab44/deliveries/whd_51c8b0f7e3/replay",
    headers={
        "Authorization": "Bearer sk_live_YOUR_KEY",
    },
)
response.raise_for_status()

data = response.json()
```

202 · `{ delivery }` — queued.

```json
{
  "delivery": {
    "id": "whd_51c8b0f9c0",
    "event_id": "evt_pR4Vm8s2XqNb7cTfKdYw1E",
    "event_type": "run.completed",
    "status": "pending",
    "attempts": 0,
    "response_status": null,
    "error": null,
    "run_id": "run_8f2c1ad04b",
    "tracker_id": null,
    "change_report_id": null,
    "replay_of": "whd_51c8b0f81a",
    "created_at": "2026-09-08T10:02:00.000Z",
    "last_attempt_at": null,
    "delivered_at": null,
    "failed_at": null
  }
}
```

[Previous List deliveries](https://www.shortsintel.com/docs/reference/webhooks/list-webhook-deliveries)
