Cloud Alerts

Create notification channel

post/triggers/notificators/

Add a notification channel (email, Slack, or Discord) that Cloud Alerts can send notifications to.

Authorization

Authorization
Authorization*string

Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.

Request body

application/jsonRequired
name*string
Range1 ≤ length ≤ 255
type*NotificatorType
Value in"slack""email""discord"
config?record<string, any>

Channel settings. Slack and Discord require an HTTPS webhook_url; email needs no settings.

enabled?boolean
Defaulttrue

Responses

Successful Response

application/json

id*string
name*string
type*NotificatorType
Value in"slack""email""discord"
config*record<string, any>
enabled*boolean
created_at*string
Formatdate-time
updated_at*string
Formatdate-time