Get a list of incidents
GET /incidents
Get a list of incidents based on query parameters.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Query Parameters
enterpriseAccountIn
string
Required. This is the ID of the enterprise account. This can be found in the "View Code" section of any listener.
startAfter
string
Value of lastVisible field received in the previous response. For the first page, don't include startAfter parameter in the request.
alertId
string
ID of the listener if you want to receive incidents for a particular listener. This can be found in the "View Code" section of any listener.
state
string
Comma separated string of states to consider for querying incidents. State could be one of open, acknowledged, closed, and recovered.
sourceIncidentId
string
Source incident ID of the incident
Response
{
"incidents": [array of incidents found],
"lastVisible": "abc123",
"hasMore": true
}{
"error": "Invalid request"
}Last updated
Was this helpful?