This endpoint returns all alerts that are currently marked as active. Alerts are displayed on the website to inform visitors about important information or announcements.
Endpoint
Response
Returns an array of active alert objects.
Array of active alert objectsWhether the alert is currently active (always true for this endpoint)
When the alert was created
Only alerts with active: true are returned by this endpoint. Alerts are typically displayed as banners or notifications on the website to communicate important information to visitors.
Example
Request
curl https://kommtkevinonline.de/api/alerts/active
Response
[
{
"id": 1,
"title": "Stream schedule update",
"text": "Next stream will be on Friday at 8 PM!",
"active": true,
"createdAt": "2026-03-01T10:00:00.000Z"
},
{
"id": 3,
"title": "Special event",
"text": "Join us for a special charity stream this weekend!",
"active": true,
"createdAt": "2026-03-02T15:30:00.000Z"
}
]
Response (no active alerts)