Acknowledge Incident

This endpoint acknowledges an Incident from an acknowledge link.

Request

To acknowledge an Incident from a link please make a GET request to the following URL:

HTTP MethodURL
GEThttps://industrial.api.ubidots.com/api/v2.0/incidents/<incident_id>/acknowledge/?token=<token>

POST to the same URL behaves the same way.

Path Parameters

ParameterTypeDescription
incident_idStringThe id of the Incident. Incidents have no label, so the ~label form is not supported

Query Parameters

ParameterTypeRequired?Description
tokenStringYesThe token returned by Create acknowledge link

Header

No header is needed. This endpoint authenticates only with token, as the account Owner; X-Auth-Token and sessions are ignored.

$ curl -X GET 'https://industrial.api.ubidots.com/api/v2.0/incidents/<incident_id>/acknowledge/?token=<token>'
{
    "id": "689e21cb246a939d3a0c2ed5",
    "name": "Freezer above threshold",
    "description": "Temperature crossed 8 degrees for 10 minutes",
    "type": "device",
    "state": "Acknowledged",
    "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": null,
    "acknowledgedDate": null,
    "resolvedDate": null,
    "lastComment": null,
    "createdAt": "2026-11-20T14:03:11.512000Z",
    "updatedAt": "2026-11-20T14:20:45.118000Z"
}
{
    "code": 401002,
    "message": "Incorrect authentication credentials."
}
{
    "code": 402001,
    "message": "Your current plan does not include Incidents feature."
}
{
    "detail": "You do not have permission to perform this action."
}

Response

Returns the Incident object after the acknowledgement.

  • If the Incident is triggered, the comment Acknowledged via link is added, which acknowledges it.
  • In any other state, the Incident is returned unchanged.

In this response triggeredDate, acknowledgedDate, resolvedDate and lastComment are always null; Get the Incident to read them.

The Incident acknowledged is the one bound to the token, not the one in the path. A missing, unknown or expired token returns 401 Unauthorized (code 401002); if the Incident no longer exists, it returns 403 Forbidden.