POST/spaces/api/webhook-requests/{webhookRequest}/resend.json

Resends a webhook-request

Returns the new webhook request body.

Path Params

  • Name
    webhookRequest
    Type
    integer
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
  • Code
    400
    Type
    object
    Schema
    Description
    400 Bad Request
  • Code
    404
    Type
    object
    Schema
    Description
    404 Not Found

Examples

200 OK

WebhookRequestResponse
{
  "webhook-request": {
    "createdAt": "2024-07-26T20:26:10.533Z",
    "createdBy": {
      "id": 0,
      "meta": {},
      "type": "string"
    },
    "deletedAt": "2024-07-26T20:26:10.533Z",
    "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-26T20:26:10.533Z",
    "updatedBy": {
      "id": 0,
      "meta": {},
      "type": "string"
    },
    "url": "string",
    "uuid": "string",
    "webhook": {
      "id": 0,
      "meta": {},
      "type": "string"
    }
  }
}