GET/spaces/api/v1/webhooks/{webhookID}.json

Fetches & returns a single webhook by its ID.

Returns a webhook response

Path Params

  • Name
    webhookID
    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

Webhook
{
  "webhook": {
    "createdAt": "2024-04-12T16:21:59.318Z",
    "createdBy": {
      "id": 0,
      "meta": {},
      "type": "string"
    },
    "deletedAt": "2024-04-12T16:21:59.318Z",
    "deletedBy": {
      "id": 0,
      "meta": {},
      "type": "string"
    },
    "events": [
      {
        "id": 0,
        "meta": {},
        "type": "string"
      }
    ],
    "id": 0,
    "isActive": true,
    "latestRequest": {
      "id": 0,
      "meta": {},
      "type": "string"
    },
    "token": "string",
    "updatedAt": "2024-04-12T16:21:59.318Z",
    "updatedBy": {
      "id": 0,
      "meta": {},
      "type": "string"
    },
    "url": "string"
  }
}