On-Call API › Incidents
List incidents
GET/api/v1/incidents
Lists the organization's incidents, newest first. Paged with limit
(default 50) and offset; there is no total count.
Permission (API-key scope): oncall:incident:read.
Authorization
bearerAuth(oncall:incident:read)apiKeyHeader(oncall:incident:read)
Parameters
Query parameters
statusIncidentStatusOnly incidents in this status.limitintegerPage size. 0 or omitted means 50.offsetintegerHow many items to skip.
Responses
200
A page of incidents.
dataarray of Incident requiredShow Incident properties
idstring requiredorg_idstringnumberinteger requiredSequential number within the organization.titlestring requiredsummarystringseverityIncidentSeverity requiredstatusIncidentStatus requiredcommander_idstringstarted_atstring (date-time) requiredidentified_atstring (date-time)resolved_atstring (date-time)created_atstring (date-time)updated_atstring (date-time)
successboolean required
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
403
The key lacks the scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
429
Too many requests (RATE_LIMITED). Wait Retry-After seconds.
Retry-AfterintegerSeconds to wait.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
Example request
curl -X GET 'https://evohub.io/api/v1/incidents' \
-H 'Authorization: Bearer <TOKEN>'