Tizondocs
ReferenceWebhooks

Replay an event

POST
/v1/events/{event_id}/replay

Sends a stored event again. The event keeps its id, so a receiver that already processed it will recognise it; the deliveries are new. It goes to every endpoint subscribed now, so an endpoint registered after the fact can catch up, or to one endpoint if you name it.

Authorization

ApiKey
AuthorizationBearer <token>

An account API key, sent as Authorization: Bearer tz_live_…. The prefix selects the mode: tz_test_ for sandbox, tz_live_ for real money.

In: header

Path Parameters

event_id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/events/string/replay" \  -H "Content-Type: application/json" \  -d '{}'
{  "object": "list",  "has_more": true,  "next_cursor": "string",  "data": [    {      "id": "string",      "object": "webhook_delivery",      "event_id": "string",      "event_type": "string",      "webhook_endpoint_id": "string",      "status": "pending",      "attempts": 0,      "last_status_code": 0,      "last_error": "string",      "recent_attempts": [        {          "attempt": 0,          "outcome": "succeeded",          "status_code": 0,          "error": "string",          "latency_ms": 0,          "at": "2019-08-24T14:15:22Z"        }      ],      "created_at": "2019-08-24T14:15:22Z",      "completed_at": "2019-08-24T14:15:22Z"    }  ]}