---
title: "Replay Webhook"
method: POST
path: "/v1/webhooks/{webhook_id}/replay"
tags: ["Webhooks"]
---

# Replay Webhook

`POST /v1/webhooks/{webhook_id}/replay`

## Request

- Base URL: `https://api.puntersedge.online`
- URL: `https://api.puntersedge.online/v1/webhooks/{webhook_id}/replay`
- Auth: API key in header `X-API-Key`

Queue past events for this subscription again, with their original `event_id`.

Re-sent deliveries carry `X-PuntersEdge-Replay: true`, restart the retry schedule, and keep
the `event_id` they first had, so a receiver that deduplicates on it ignores what it already
processed. At most 1,000 events per call and one call per key per minute; an event already
waiting to be sent is not queued twice.

Delivery is at-least-once: the same event can arrive more than once, so deduplicate on `event_id` (in the body, and sent as the `X-PuntersEdge-Id` and `Idempotency-Key` headers). There is no ordering guarantee between events. Each delivery carries `X-PuntersEdge-Timestamp`, `X-PuntersEdge-Attempt` and two signatures: `X-Webhook-Signature: sha256=<hex>` (HMAC-SHA256 of the raw body with your secret) and `X-PuntersEdge-Signature: t=<unix seconds>,v1=<hex>` (HMAC-SHA256 of `<t>.<raw body>`; refuse a `t` more than 5 minutes from now to block replays). Any 2xx answer is success. A 5xx, 408, 429, timeout or connection failure is retried after 1 min, 5 min, 30 min, 2 h, 6 h (6 tries in all, about 8.5 hours), honouring `Retry-After` up to the next step; any other answer is final. After 10 consecutive undeliverable events, or a day of continuous failure, the subscription is paused and the owner is emailed; POST /v1/webhooks/{id}/resume restarts it with the same secret, and POST /v1/webhooks/{id}/replay re-sends what was missed. The delivery log returns the newest 50 rows unless `limit` says otherwise.

## Path parameters

- `webhook_id` string, required

## Query parameters

- `since` string, required: Replay events first queued at or after this ISO-8601 time.
- `status` string: `dead`: retries exhausted or refused. `failed`: dead plus events held while the subscription was paused. `all`: those plus events already delivered.

## Headers

- `X-API-Key` string
- `X-RapidAPI-Proxy-Secret` string

## Response `200`

Successful Response

- WebhookReplayResponse
  - `id` string, required
  - `requeued` integer, required: Events queued for re-delivery by this call.
  - `since` string, required
  - `status` string, required
  - `max_per_call` integer, required

## Other responses

- `401`: Missing or invalid API key. Send `X-API-Key`. See https://puntersedge.online/developers/errors
- `402`: Monthly credit allowance exhausted for this plan. Upgrade at https://puntersedge.online/api/pricing
- `403`: Webhook subscriptions are available on Plus, Business, Platform, Scale and Enterprise plans only. Legacy Growth and Pro keys also qualify.
- `422`: Validation Error
- `429`: One replay per key per minute.
- `500`: Unexpected server error. Safe to retry with backoff.

---

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