Notification Providers

Create a new Webhook notification provider

Changed on

Webhook providers send notifications as JSON payloads to any HTTP endpoint. You can configure custom headers for authentication (Bearer tokens, API keys, etc.). The webhook will receive a JSON payload with notification details including: id, title, message, type, priority, severity, timestamp, and metadata.

post/notification-providers/webhook

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Request body

enabledboolean nullable
namestring required

Example request

{
  "config": {
    "headers": {
      "Authorization": "Bearer your-token",
      "X-Custom-Header": "custom-value"
    },
    "method": "POST",
    "timeout_secs": 30,
    "url": "https://api.example.com/notifications"
  }
}

Response

Successfully created Webhook provider

configunknown required
created_atstring date-time required
enabledboolean required
idinteger required
namestring required
provider_typestring required
updated_atstring date-time required

Changes

    • breaking

      the created_at response's property type changed from integer to string, and format from int64 to date-time for status

    • breaking

      the updated_at response's property type changed from integer to string, and format from int64 to date-time for status

    • breaking

      the config/headers/additionalProperties request property format changed from no format to password