This endpoint retrieves a specific Comment of an Incident.
Request
To retrieve a single Comment please make a GET request to the following URL:
| HTTP Method | URL |
|---|---|
| GET | https://industrial.api.ubidots.com/api/v2.0/incidents/<incident_id>/comments/<comment_id>/ |
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| incident_id | String | The id of the Incident. Incidents have no label, so the ~label form is not supported |
| comment_id | String | The id of the Comment |
Header
| Parameter | Required? | Description |
|---|---|---|
| X-Auth-Token | Yes | Authentication Token of account |
$ curl -X GET 'https://industrial.api.ubidots.com/api/v2.0/incidents/<incident_id>/comments/<comment_id>/' \
-H 'X-Auth-Token: oaXBo6ODhIjPsusNRPUGIK4d72bc73'{
"id": "689e2f1a246a939d3a0c2f10",
"message": "Technician dispatched",
"username": "jane.doe",
"createdAt": "2026-11-20T14:20:45.118000Z"
}{
"code": 401001,
"message": "Authentication credentials were not provided.",
"detail": "Authentication credentials were not provided."
}{
"code": 404001,
"message": "The request was not found."
}Response
Returns a Comment object.

