Endpoints

Get a request

One captured request in full: headers as an object, the body (base64-encoded when bodyIsBinary is true), and the latest delivery outcome.

GET
/api/v1/endpoints/{endpointId}/requests/{requestId}
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

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{
  "id": 0,
  "endpointId": "c8d2c7e1-e4b1-4108-9e29-3429a36a1ef3",
  "receivedAt": "2019-08-24T14:15:22Z",
  "method": "string",
  "path": "string",
  "queryString": "string",
  "headers": {
    "property1": "string",
    "property2": "string"
  },
  "body": "string",
  "bodyIsBinary": true,
  "bodyTruncated": true,
  "contentType": "string",
  "sourceIp": "string",
  "contentLength": 0,
  "delivery": {
    "state": "NotAttempted",
    "statusCode": 0,
    "error": "string",
    "url": "string",
    "at": "2019-08-24T14:15:22Z",
    "durationMs": 0
  }
}
{
  "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