Replay a request

Re-sends the captured request through the endpoint's actions and waits for the outcome. The attempt is recorded in the delivery history like any other. Requires an action to be switched on.

By default the request goes to every action that is switched on. Pass actionId to replay it through that one action only: the other actions send nothing. The action must belong to this endpoint (an action of any other endpoint answers 404, the same as one that never existed) and must be switched on (code: action_inactive otherwise).

POST
/api/v1/endpoints/{endpointId}/requests/{requestId}/replay
AuthorizationBearer <token>

API key in the Authorization header: Authorization: Bearer wv_live_…. Keys are created on the API keys page in the app, shown once, and scoped to your workspace. X-Api-Key: wv_live_… is accepted as a fallback for tools that can't set Authorization.

In: header

Path Parameters

endpointId*string

The endpoint id (also the capture token in its URL).

Formatuuid
requestId*integer

The captured request id.

Formatint64

Query Parameters

actionId?string

Optional. The one action (from GET /api/v1/endpoints/:endpointId/actions) to replay the request through. Omit it to replay to every action that is switched on.

Formatuuid

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{
  "state": "string",
  "statusCode": 0,
  "error": "string",
  "url": "string",
  "durationMs": 0,
  "delivered": true
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}

On this page