Webhooks and events
POST/v1/events/{ev_id}/replay

Replay event

View as .md
curl -X POST "https://api.52-28-238-205.sslip.io/v1/events/{ev_id}/replay" \  -H "Cookie: <console session cookie>" \  -H "Content-Type: application/json" \  -d '{"endpoint_id":"end_01jd2x3k4m5n6p7q8r9s0t1v2w"}'

Sends the event again as new deliveries, to one endpoint (endpoint_id in the body) or to every matching endpoint of the caller. Requires developer:manage; internal events and disabled endpoints are refused.

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/events/{ev_id}/replayBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Path
  • ev_idstringrequired

    Event id (evt_...).

Body

application/json. Fields are listed under Request body below.

Requires permissiondeveloper:manage
Held by owner, admin, developer, merchant_owner, merchant_developer, operator. The caller must hold this permission, or the call is refused with 403.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Path Parameters

ev_id*Ev Id

Event id (evt_...).

Request Body

application/json
  1. body
endpoint_id?string|null

Response Body

Success.

application/json
  1. response
deliveries*array<>
[key: string]?any