This endpoint adds a Comment to an Incident.
Request
To add a Comment to an Incident please make a POST request to the following URL:
| HTTP Method | URL |
|---|---|
| POST | https://industrial.api.ubidots.com/api/v2.0/incidents/<incident_id>/comments/ |
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| incident_id | String | The id of the Incident. Incidents have no label, so the ~label form is not supported |
Body Parameters
| Parameter | Type | Required? | Description |
|---|---|---|---|
| message | String | Yes | Text of the Comment |
A comment acknowledges a triggered IncidentIf the Incident is
triggered, adding a Comment first moves it toacknowledged. If the Incident has an escalation policy running, the policy stops.
Header
| Parameter | Required? | Description |
|---|---|---|
| X-Auth-Token | Yes | Authentication Token of account |
| Content-Type | Yes | application/json |
$ curl -X POST 'https://industrial.api.ubidots.com/api/v2.0/incidents/<incident_id>/comments/' \
-H 'X-Auth-Token: oaXBo6ODhIjPsusNRPUGIK4d72bc73' \
-H 'Content-Type: application/json' \
-d '{
"message": "Technician dispatched"
}'{
"id": "689e2f1a246a939d3a0c2f10",
"message": "Technician dispatched",
"username": "jane.doe",
"createdAt": "2026-11-20T14:20:45.118000Z"
}{
"code": 400001,
"message": "Validation Error.",
"detail": {
"message": [
"This field is required."
]
}
}{
"code": 401001,
"message": "Authentication credentials were not provided.",
"detail": "Authentication credentials were not provided."
}{
"code": 404001,
"message": "The request was not found."
}Response
Returns the created Comment object, written as the user who makes the request.

