GET/spaces/api/v1/webhook-requests/{webhookRequest}.json

Fetches & returns a single webhook-request by its ID.

Returns a webhook request response

Path Params

  • Name
    webhookRequest
    Type
    integer
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
  • Code
    404
    Type
    object
    Schema
    Description
    404 Not Found
  • Code
    500
    Type
    object
    Schema
    Description
    500 Internal Server Error

Examples

200 OK

WebhookRequestResponse
{
  "webhook-request": {
    "createdAt": "2024-07-22T17:44:54.321Z",
    "createdBy": {
      "id": 0,
      "meta": {},
      "type": "string"
    },
    "deletedAt": "2024-07-22T17:44:54.321Z",
    "deletedBy": {
      "id": 0,
      "meta": {},
      "type": "string"
    },
    "event": {
      "id": 0,
      "meta": {},
      "type": "string"
    },
    "id": 0,
    "requestBody": "string",
    "requestHeaders": "string",
    "responseBody": "string",
    "responseHeaders": "string",
    "responseStatus": 0,
    "status": "success",
    "updatedAt": "2024-07-22T17:44:54.321Z",
    "updatedBy": {
      "id": 0,
      "meta": {},
      "type": "string"
    },
    "url": "string",
    "uuid": "string",
    "webhook": {
      "id": 0,
      "meta": {},
      "type": "string"
    }
  }
}