Deliver the same event again as a new delivery
POST/v1/webhook-deliveries/{id}/replayKey ·
Deliver the same event (same evt_ id) again as a new delivery.
Authentication
API key: Authorization: Bearer sl_live_… with any scope. The dashboard session works too.
An API key always acts in its own workspace. With a dashboard session, pass ?workspaceId= to choose the workspace (default: your first).
Parameters
| Name | In | Description |
|---|---|---|
idrequired | path | string |
Response
202 — The new delivery
| Field | Description |
|---|---|
idrequired | string · pattern ^whd_ |
endpointIdrequired | string |
eventIdrequired | string · pattern ^evt_ Stable across retries and replays: dedupe on it. |
eventTyperequired | string |
replayOf | string | null |
statusrequired | "pending" | "succeeded" | "failed"failed: dead-lettered after 8 attempts |
attemptsrequired | integer |
nextAttemptAt | string | null · date-time |
lastStatusCode | integer | null |
lastError | string | null |
createdAtrequired | string · date-time |
completedAt | string | null · date-time |
{ "id": "whd_AuER0XoaWoMaTw3bPa7KoQ", "endpointId": "whe_Vb3nq0x5cE1h2kF8sYp4Tg", "eventId": "evt_cbb3ca99be3d5358e027f561a3c72896", "eventType": "message.received", "replayOf": "replayOf", "status": "pending", "attempts": 1, "nextAttemptAt": "2026-11-28T09:13:57.390Z", "lastStatusCode": 1, "lastError": "lastError", "createdAt": "2026-11-28T09:13:57.390Z", "completedAt": "2026-11-28T09:13:57.390Z"}Errors
Errors are JSON: {"error": "<code>", "message": "<a sentence>"}. Branch on error, show message. Every code is explained in Errors.
| Status | error | When |
|---|---|---|
| 400 | bad_request | The webhook is disabled |
| 401 | unauthorized | Missing or invalid API key / session |
| 403 | forbidden | API key lacks the read + send scopes |
| 404 | not_found | Webhook or delivery not found |
| 500 | internal | Internal error |
Examples
Set SIMLINE_API_KEY to your key first. Node examples use the built-in fetch (Node 18+, run as an ES module); Python uses requests.
curl -X POST "https://api.simline.dev/v1/webhook-deliveries/whd_AuER0XoaWoMaTw3bPa7KoQ/replay" \ -H "Authorization: Bearer $SIMLINE_API_KEY"const res = await fetch("https://api.simline.dev/v1/webhook-deliveries/whd_AuER0XoaWoMaTw3bPa7KoQ/replay", { method: "POST", headers: { Authorization: `Bearer ${process.env.SIMLINE_API_KEY}` }})if (!res.ok) { const err = await res.json() throw new Error(`${res.status} ${err.error}: ${err.message}`)}console.log(await res.json())import os
import requests
r = requests.post( "https://api.simline.dev/v1/webhook-deliveries/whd_AuER0XoaWoMaTw3bPa7KoQ/replay", headers={"Authorization": f"Bearer {os.environ['SIMLINE_API_KEY']}"}, timeout=15,)if not r.ok: err = r.json() raise RuntimeError(f"{r.status_code} {err['error']}: {err['message']}")print(r.json())