Cloud Alerts
Create notification channel
post
/triggers/notificators/Add a notification channel (email, Slack, or Discord) that Cloud Alerts can send notifications to.
Autorización
Authorization
Authorization*string
Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.
Cuerpo de la petición
application/jsonObligatorio
name*string
Rango
1 ≤ length ≤ 255type*NotificatorType
Valores
"slack""email""discord"config?record<string, any>
Channel settings. Slack and Discord require an HTTPS webhook_url; email needs no settings.
enabled?boolean
Por defecto
trueRespuestas
Successful Response
application/json
id*string
name*string
type*NotificatorType
Valores
"slack""email""discord"config*record<string, any>
enabled*boolean
created_at*string
Formato
date-timeupdated_at*string
Formato
date-time