---
title: "Get task comments"
method: GET
path: "/comment/{taskId}"
tags: ["Comments"]
---

# Get task comments

`GET /comment/{taskId}`

Get every comment on a task, oldest first, each with its author's name and avatar.

## Path parameters

- `taskId` string, required

## Response `200`

List of comments for the task

- Comment[]
  - `id` string, required
  - `taskId` string, required
  - `userId` string, required
  - `content` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `user` CommentAuthor, required
    - `name` string, required
    - `image` string, nullable, required

## Other responses

- `400` — Unknown task, or its workspace could not be determined
- `401` — Missing or invalid credentials
- `403` — No access to the task's workspace

## Changes

- **2026-08-24** `08bbb5bedb5d` — 4 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - the response property `items/user` became required for the status `200`
- **2026-07-11** `32cece1ebe43` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/usekaneo/apis/kaneo-api/changes/comment/:taskId/get.md)

---

[API](https://skmtc.dev/usekaneo/apis/kaneo-api.md) · [All operations](https://skmtc.dev/usekaneo/apis/kaneo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usekaneo/kaneo-api/revisions/9d1da42c10ce/schema)
