Alerts
Enterprise

Create Alert Webhook

Changed on

Creates a new alert webhook (channel + webhook + HMAC secret in one transaction). The generated HMAC secret is returned on this response only.

post/api/v2/alert-webhooks

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v2/alert-webhooks
  • Auth: one of:
    • HTTP bearer
    • API key in header Authorization and API key in header RequestDate and API key in header Signature

Request body

type'generic' | 'slack' | 'ms-teams' required
namestring required
descriptionstring
urlstring uri required

Must be https, http is not supported.

Response

Created

Changes