API documentation

REST-first for sending, with a per-channel API key (Bearer token). A GraphQL endpoint is exposed for rich client queries.

Send a notification

curl -X POST https://api.alertenu.com/api/v1/channels/chn_4c1b/notify \
  -H "Authorization: Bearer $ALERTENU_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Deployment complete",
    "body": "v2.4.1 is live on production.",
    "topic": "deploys",
    "url": "https://status.example.com"
  }'

Core endpoints

POST/api/v1/channels
GET/api/v1/channels/{id}
PATCH/api/v1/channels/{id}
DELETE/api/v1/channels/{id}
POST/api/v1/channels/{id}/notify
POST/api/v1/channels/{id}/schedule
GET/api/v1/channels/{id}/subscribers
POST/api/v1/channels/{id}/invite
GET/api/v1/channels/{id}/messages
GET/api/v1/channels/{id}/analytics
POST/api/v1/channels/{id}/keys

Webhooks

AlertEnu can receive webhooks from third-party services and turn them into notifications:

POST /api/v1/hooks/{channelId}/{secret}