Unable to Find REST API Endpoint for Alerts in Graylog 5.0.4

I’m trying to retrieve alerts from Graylog using a GET request and upload them to GitHub with a PUT request. However, I’m having trouble locating the REST API endpoint for alerts in Graylog version 5.0.4. If anyone has encountered this issue or has insights on where to find this endpoint, please assist.

Alerts are now called “notifications”. You can find the related APIs under the /api/events/notifications path.

Reply:

Thank you for the clarification that alerts are now referred to as “notifications” and can be accessed via the /api/events/notifications path. However, I’m specifically looking to display only active alerts, and I’m having trouble finding the exact API endpoint for that. Does anyone know the method or API call to retrieve just the active alerts? Any help would be appreciated!

Oh, are you referring to System Notifications rather than event notifications?
You can get the active System Notifications from
GET /api/system/notifications

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.