14-day PRO trial · No credit card — Start free →
API Reference
Alerts

Alerts API

List alerts

GET /api/v1/alerts?filter=unresolved&limit=50
QueryValues
filterall (default), unread, unresolved
limit1–200 (default 50)
curl "https://api.securecheap.com/api/v1/alerts?filter=unresolved" \
  -H "X-API-Key: sc_live_..."

Response: { "alerts": [ ... ] }

Update alerts

MethodPathAction
PATCH/api/v1/alerts/{id}/readMark one alert read
PATCH/api/v1/alerts/read-allMark all alerts read
PATCH/api/v1/alerts/{id}/resolveResolve an alert
DELETE/api/v1/alerts/{id}Delete an alert

Each returns { "ok": true }.

Notification channels

MethodPathAction
GET/api/v1/alerts/channelsList channels
POST/api/v1/alerts/channelsAdd a channel
PATCH/api/v1/alerts/channels/{id}Update a channel
DELETE/api/v1/alerts/channels/{id}Delete a channel
POST/api/v1/alerts/channels/{id}/testSend a test notification

Channel type is one of EMAIL, SLACK, DISCORD, TELEGRAM, WEBHOOK. An optional minSeverity (info, warning, critical) filters which alerts the channel receives.