bus

Register webhook

Registers a new webhook. Alerts is the only system that uses webhooks.

post/bus/webhooks

Request body

module'alerts'

The module this webhook belongs to

event'dismiss' | 'register'

The event type this webhook listens for

urlstring

The URL to send webhook events to

headersobject

Custom headers to include in webhook requests

Example request

{
  "url": "https://foo.com:8000/api/events"
}

Response

Successfully registered webhook

Changes