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 | Create a channel |
| GET | /api/v1/channels/{id} | Get channel details |
| PATCH | /api/v1/channels/{id} | Update channel settings |
| DELETE | /api/v1/channels/{id} | Delete a channel |
| POST | /api/v1/channels/{id}/notify | Send a notification now |
| POST | /api/v1/channels/{id}/schedule | Schedule / recur a notification |
| GET | /api/v1/channels/{id}/subscribers | List subscribers (count, segments) |
| POST | /api/v1/channels/{id}/invite | Generate invite link / QR |
| GET | /api/v1/channels/{id}/messages | Notification history |
| GET | /api/v1/channels/{id}/analytics | Delivery & open stats |
| POST | /api/v1/channels/{id}/keys | Rotate / create API keys |
Webhooks
AlertEnu can receive webhooks from third-party services and turn them into notifications:
POST /api/v1/hooks/{channelId}/{secret}