Skip to main content
GET
/
notifications
/
channels
curl "https://kodostatus.com/api/v1/notifications/channels" \
  -H "X-API-Key: your_api_key"
{
  "channels": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "type": "slack",
      "name": "Engineering Alerts",
      "enabled": true,
      "config": { "webhook_url": "https://hooks.slack.com/..." },
      "notify_on_incident": true,
      "notify_on_maintenance": true,
      "created_at": "2026-01-15T10:30:00.000Z",
      "updated_at": "2026-01-15T10:30:00.000Z"
    },
    {
      "id": "660e8400-e29b-41d4-a716-446655440000",
      "type": "discord",
      "name": "Discord Alerts",
      "enabled": true,
      "config": { "webhook_url": "https://discord.com/api/webhooks/..." },
      "notify_on_incident": true,
      "notify_on_maintenance": false,
      "created_at": "2026-01-20T08:00:00.000Z",
      "updated_at": "2026-01-20T08:00:00.000Z"
    }
  ]
}

Response

channels
array
curl "https://kodostatus.com/api/v1/notifications/channels" \
  -H "X-API-Key: your_api_key"
{
  "channels": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "type": "slack",
      "name": "Engineering Alerts",
      "enabled": true,
      "config": { "webhook_url": "https://hooks.slack.com/..." },
      "notify_on_incident": true,
      "notify_on_maintenance": true,
      "created_at": "2026-01-15T10:30:00.000Z",
      "updated_at": "2026-01-15T10:30:00.000Z"
    },
    {
      "id": "660e8400-e29b-41d4-a716-446655440000",
      "type": "discord",
      "name": "Discord Alerts",
      "enabled": true,
      "config": { "webhook_url": "https://discord.com/api/webhooks/..." },
      "notify_on_incident": true,
      "notify_on_maintenance": false,
      "created_at": "2026-01-20T08:00:00.000Z",
      "updated_at": "2026-01-20T08:00:00.000Z"
    }
  ]
}