---
title: "List comments"
method: GET
path: "/v2/posts/{post_id}/comments"
---

# List comments

`GET /v2/posts/{post_id}/comments`

Lists all comments on a post.

## Path parameters

- `post_id` string, required

## Query parameters

- `after` string
- `limit` number
- `parent_id` string
- `sort` 'created_at'
- `direction` 'asc' | 'desc'

## Response `200`

Successful operation

- V2CommentPage
  - `next_cursor` string, nullable
  - `prev_cursor` string, nullable
  - `data` V2Comment[], required
    - `id` string, required
    - `content` string, required
    - `created_at` string, required
    - `replies_count` number, required
    - `parent_id` string, nullable, required
    - `subject_id` string, required
    - `subject_type` string, required
    - `author` V2Author, required
      - `avatar_urls` AvatarUrls, required
        - `xs` string, required
        - `sm` string, required
        - `base` string, required
        - `lg` string, required
        - `xl` string, required
        - `xxl` string, required
      - `name` string, required
      - `id` string, required
      - `type` 'app' | 'member', required
  - `total_count` number, required

---

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