Get Task Comments
GET/api/tasks/{id}/comments
Returns the comment thread of a task, oldest first. Requires the Tasks "get" permission.
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| id | Number | Task unique ID (URL segment). |
curl -X GET "https://yoursite.com/api/tasks/123/comments" \
-H "authtoken: YOUR_API_TOKEN" Success-Response:
HTTP/1.1 200 OK
[
{
"id": "42",
"content": "Client approved the quote.",
"taskid": "18",
"staffid": "3",
"contact_id": "0",
"dateadded": "2026-07-31 10:14:52",
"file_id": "0"
}
] Task-Not-Found:
HTTP/1.1 404 Not Found
{ "status": false, "message": "Task not found" }