---
title: "List comments on a card"
method: GET
path: "/api/board/{boardId}/{cardId}/comments"
tags: ["Cards"]
---

# List comments on a card

`GET /api/board/{boardId}/{cardId}/comments`

## Request

- Base URL: `https://core-api.getaptly.com`
- URL: `https://core-api.getaptly.com/api/board/{boardId}/{cardId}/comments`
- Auth: one of:
  - API key in header `x-token`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/getaptly/apis/aptly-api/docs/api/board/:boardId/:cardId/comments/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns all comments on the specified card in chronological order.

## Path parameters

- `boardId` string, required
- `cardId` string, required

## Response `200`

Array of comments.

- object
  - `data` Comment[]
    - `id` string
    - `userId` string
    - `content` string
    - `createdAt` string, date-time

## Other responses

- `401`: Invalid or missing API key.
- `403`: API access is disabled for this board.
- `404`: Board or card not found.

---

[API](https://skmtc.dev/getaptly/apis/aptly-api.md) - [All operations](https://skmtc.dev/getaptly/apis/aptly-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getaptly/apis/aptly-api/revisions/75c367e0b8e5?raw)
