The following endpoints refer to Incidents.
Industrial licenseIncidents are only available for accounts with an Industrial license or higher. In accounts without it, the endpoints return
402 Payment Requiredto the account Owner and403 Forbiddento any other user. Please contact [email protected] for further information.
An Incident records a problem that needs attention: a device or variable that crossed a condition, tracked from the moment it is triggered until someone resolves it. Incidents are created in two ways:
- Automatically, by an Event with an Incident action. These have
sourceautomatic. - Manually, through the Create Incident endpoint or the Ubidots app. These have
sourcemanual.
Each Incident keeps a history of Logs: state changes, comments, severity changes and assignment changes.
States
An Incident moves through three states:
| State | Description | Can move to |
|---|---|---|
triggered | The Incident was created and nobody has acknowledged it yet | acknowledged, resolved |
acknowledged | Someone is working on the Incident | resolved |
resolved | The Incident is closed. This state is final | — |
Sending the current state is a no-op; any other transition returns 400 Bad Request with the detail State transition not allowed: <FROM> → <TO>.
There are three ways to acknowledge a triggered Incident:
- Update the Incident with
"state": "acknowledged". - Add a Comment: a comment on a triggered Incident acknowledges it.
- Open an acknowledge link, which can be shared with people who don't have an Ubidots user.
Severity
Severity goes from p0 (most severe) to p4 (least severe). Manual Incidents default to p3.
Access
- The account Owner and Admins see every Incident of the account.
- An End User sees only the Incidents of their organizations, or whose Event belongs to one of their organizations.
- Incidents have no label: every endpoint uses the Incident
idas its key. - Every route accepts the path with or without a trailing slash.

