This endpoint retrieves all Incidents.
Request
To retrieve all Incidents please make a GET request to the following URL:
| HTTP Method | URL |
|---|---|
| GET | https://industrial.api.ubidots.com/api/v2.0/incidents/ |
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| page | Integer | Page number. Default 1 |
| page_size | Integer | Results per page. Default 50, max 200 (larger values are capped) |
| sort_by | String | Comma-separated fields, prefix - for descending. Default -createdAt. See Incident Filters |
| search | String | Case-insensitive search |
| fields | String | Comma-separated list of fields to keep in the response, e.g. id,name,state |
| omit | String | Comma-separated list of fields to drop from the response |
Any of the Incident Filters can be added as a query parameter.
Header
| Parameter | Required? | Description |
|---|---|---|
| X-Auth-Token | Yes | Authentication Token of account |
$ curl -X GET 'https://industrial.api.ubidots.com/api/v2.0/incidents/?state__in=triggered,acknowledged&sort_by=-createdAt&page_size=50' \
-H 'X-Auth-Token: oaXBo6ODhIjPsusNRPUGIK4d72bc73'{
"next": "https://industrial.api.ubidots.com/api/v2.0/incidents/?page=2&page_size=1&state__in=triggered%2Cacknowledged",
"previous": null,
"results": [
{
"id": "689e21cb246a939d3a0c2ed5",
"name": "Freezer above threshold",
"description": "Temperature crossed 8 degrees for 10 minutes",
"type": "device",
"state": "Triggered",
"source": "automatic",
"severity": "p1",
"context": {
"trigger_id": "68a0b7e1246a939d3a0c2e01",
"event_id": "68a0b7e1246a939d3a0c2e00",
"variable": {
"id": "689e21cb246a939d3a0c2ed9",
"name": "Temperature",
"label": "temperature",
"unit": "°C",
"icon": "thermometer",
"color": "#E74C3C"
},
"device": {
"id": "689e21cb246a939d3a0c2ed7",
"name": "Freezer 01",
"label": "freezer-01"
},
"trigger_value": 9.4
},
"organizationId": "5d966d47e694aa3a85c0a6c5",
"organization": {
"id": "5d966d47e694aa3a85c0a6c5",
"name": "Cold Storage Inc.",
"label": "cold-storage-inc",
"createdAt": "2019-10-10T13:19:18.126000Z"
},
"escalationPolicy": null,
"assignedTo": {
"type": "user",
"userId": "5d966dbbe694aa3a85c0cef7",
"username": "jane.doe",
"firstName": "Jane",
"lastName": "Doe",
"avatarUrl": null
},
"triggeredDate": "2026-11-20T14:03:11.512000Z",
"acknowledgedDate": null,
"resolvedDate": null,
"lastComment": null,
"createdAt": "2026-11-20T14:03:11.512000Z",
"updatedAt": "2026-11-20T14:03:11.512000Z"
}
]
}{
"code": 401001,
"message": "Authentication credentials were not provided.",
"detail": "Authentication credentials were not provided."
}{
"code": 402001,
"message": "Your current plan does not include Incidents feature."
}{
"detail": "You do not have permission to perform this action."
}Response
An object with an array results of Incident objects, newest first. The account Owner and Admins get every Incident of the account; an End User gets only the Incidents of their organizations.
No total countThis endpoint doesn't return
count. To go through every page, follow thenextURL until it isnull.

