Skip to Content
RunePayDocs
API referenceWebhook endpoints

Replay an event to an endpoint

Queues the event for the enabled endpoint and resets its delivery attempts and retry window.

POST
/webhook_endpoints/{id}/replay

Queues the event for the enabled endpoint and resets its delivery attempts and retry window.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A secret key, sk_test_… or sk_live_….

Path Parameters

id*string

The object id.

Header Parameters

Idempotency-Key?string

Makes a retry safe: the same key and body within 24 hours does not repeat the request.

Request Body

application/json
  1. body
event_id*string

The event to deliver again.

Response Body

Success.

application/json
  1. response
id*string
event_id*string
status*string
Value in"pending""succeeded""failed"
Example Request
curl -X POST 'https://runepay.co/api/v1/webhook_endpoints/string/replay' \  -H 'Authorization: Bearer sk_test_...' \  -H 'Content-Type: application/json' \  -d '{  "event_id": "evt_01KA8E5F7G9H1J3K5M7N9P1Q3R"}'
Example Response
{  "id": "0f9e8d7c-6b5a-4c3d-8e2f-1a0b9c8d7e6f",  "event_id": "evt_01KA8E5F7G9H1J3K5M7N9P1Q3R",  "status": "pending"}