Skip to main content
POST
/
api
/
v1
/
alert-channels
Create a new alert channel with encrypted config
curl --request POST \
  --url https://api.devhelm.io/api/v1/alert-channels \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "config": {
    "channelType": "<string>",
    "webhookUrl": "<string>",
    "mentionRoleId": "<string>"
  }
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "channelType": "email",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "displayConfig": {},
    "configHash": "<string>",
    "lastDeliveryAt": "2023-11-07T05:31:56Z",
    "lastDeliveryStatus": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Body

application/json
name
string
required

Human-readable name for this alert channel

Maximum string length: 255
config
object
required

New channel configuration (full replacement, not partial update)

Response

201 - */*

Created

data
object

Alert channel with non-sensitive configuration metadata