Skip to main content
POST
/
fleet
/
alert-channels
cURL
curl --request POST \
  --url https://api.avala.ai/api/v1/fleet/alert-channels/ \
  --header 'Content-Type: application/json' \
  --header 'X-Avala-Api-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "type": "slack",
  "config": {}
}
'
{
  "name": "<string>",
  "type": "slack",
  "config": {},
  "uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-Avala-Api-Key
string
header
required

API key for authentication. Generate one in Mission Control Settings > Security & Identity.

Body

application/json
name
string
required
Required string length: 1 - 255
type
enum<string>
required
Available options:
slack,
email,
webhook
config
Config · object
required

Response

201 - application/json
name
string
required
Required string length: 1 - 255
type
enum<string>
required
Available options:
slack,
email,
webhook
config
Config · object
required
uid
string<uuid>
created_at
string<date-time>
updated_at
string<date-time>