Replay webhook deliveries

POST
/v1/webhooks/{id}/replay

Re-executes up to the 50 most recent matching deliveries, recording each as a new webhook_deliveries row (never mutates the original).

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key sent as Authorization: Bearer <key>. Looked up by SHA-256 hash (email_core::sha256_hex) against api_keys.hash; revoked keys and keys belonging to a suspended tenant are rejected. See the top-level Authentication section for permission levels.

Path Parameters

id*string

Query Parameters

status?string

Which stored deliveries to replay.

Default"failed"
Value in"failed""all"

Response Body

Replay results (or an empty list with an informational message if nothing matched).

application/json
  1. response
data?array<>
message?string

"no_failed_deliveries" when data is empty.

curl -X POST "https://example.com/v1/webhooks/string/replay"
{  "data": [    {      "delivery_id": "string",      "status": "success",      "status_code": 0,      "error": "string"    }  ],  "message": "string"}