---
title: "Get comments for a task"
method: GET
path: "/tasks/{id}/comments"
tags: ["tasks"]
---

# Get comments for a task

`GET /tasks/{id}/comments`

Returns all comments for a task, ordered by creation time.

**Rate limit:** 60 requests per minute

## Path parameters

- `id` string, required

## Response `200`

- GetTaskCommentsResponseBody
  - `data` TaskComment[] — The data payload of the response.
    - `author` Actor
      - `contact` MiniContact
        - `email` string — The email of the contact.
        - `id` string — The ID of the contact.
      - `user` MiniUser
        - `email` string — The email of the user.
        - `id` string — The ID of the user.
    - `body_html` string — The body of the comment in HTML format.
    - `created_at` string — The created at time of the comment.
    - `id` string — The ID of the comment.
    - `is_internal` boolean — Whether the comment is visible only to internal users.
    - `last_edited_at` string — The time the comment was last edited, in RFC3339 format.
    - `task_id` string — The ID of the task this comment belongs to.
    - `updated_at` string — The updated at time of the comment.
  - `request_id` string — The request ID for tracking.

## Other responses

- `400` — The request was invalid or could not be completed.
- `404`
- `500` — An unexpected internal error occurred.

---

[API](https://skmtc.net/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.net/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usepylon/pylon-api/versions/999c51740b4e/schema)
