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
Range
1 ≤ length ≤ 255type*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
Default
trueResponses
Successful Response
application/json
id*string
name*string
type*NotificatorType
Value in
"slack""email""discord"config*record<string, any>
enabled*boolean
created_at*string
Format
date-timeupdated_at*string
Format
date-time