---
title: "List Comments"
method: GET
path: "/api_v2/projects/{project_id}/tasks/{task_id}/comments.json"
tags: ["Comments"]
---

# List Comments

`GET /api_v2/projects/{project_id}/tasks/{task_id}/comments.json`

## Request

- Base URL: `https://www.bugherd.com`
- URL: `https://www.bugherd.com/api_v2/projects/{project_id}/tasks/{task_id}/comments.json`
- Auth: HTTP basic

Returns all comments on a task.

## Path parameters

- `project_id` integer, required
- `task_id` integer, required

## Response `200`

List of comments

- object
  - `comments` Comment[]
    - `id` integer
    - `text` string
    - `created_at` string, date-time
    - `user_id` integer
    - `is_private` boolean
  - `meta` object
    - `count` integer: Total number of records across all pages

---

[API](https://skmtc.dev/bugherd/apis/bugherd-api-v2.md) · [All operations](https://skmtc.dev/bugherd/apis/bugherd-api-v2/llms.txt) · [OpenAPI document](https://skmtc.dev/bugherd/apis/bugherd-api-v2/revisions/bf473cda70d4?raw)
