---
title: "Get comments"
method: GET
path: "/comments"
tags: ["Comments"]
---

# Get comments

`GET /comments`

## Request

- Base URL: `https://api.presscart.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.presscart.com/comments`
- Auth: HTTP bearer

Retrieve a list of comments with optional filters and nested replies.

## Query parameters

- `limit` number, nullable
- `page` number, nullable
- `order_by` 'asc' | 'desc'
- `sort_by` string
- `include_archived` 'true' | 'false'
- `skip_pagination` 'true' | 'false'
- `filters` object
  - `entity_type` string
  - `entity_id` string, uuid
  - `is_internal` 'true' | 'false'
  - `user_id` string, uuid
  - `parent_comment_id` string
  - `search` string
  - `team_id` string, uuid
  - `include_replies` 'true' | 'false'

## Response `200`

Comments retrieved successfully

- object
  - `total_pages` number, required
  - `current_page` number, required
  - `next_page` number, nullable, required
  - `previous_page` number, nullable, required
  - `records` object[], required
    - `id` string, required: Public comment reference.
    - `content` unknown
    - `content_html` string, nullable, required
    - `parent_comment_id` string, nullable, required: Parent comment reference. Null for root comments.
    - `is_internal` boolean, required: Whether this comment is internal (team only) or public
    - `entity_type` string, required: Type of entity being commented on (article, campaign, etc.)
    - `entity_id` string, uuid, required: ID of the entity being commented on
    - `team_id` string, uuid, required
    - `user_id` string, uuid, nullable, required: Presscart user author. Null for API-token comments with external authors.
    - `created_at` union, required
      - string, nullable
      - string
      - unknown
    - `updated_at` union, required
      - string, nullable
      - string
      - unknown
    - `deleted_at` union, required
      - string, nullable
      - string
      - unknown
    - `user` object, nullable, required
      - `first_name` string, nullable, required
      - `last_name` string, nullable, required
    - `replies` object[], required
      - `id` string, required: Public comment reference.
      - `content` unknown
      - `content_html` string, nullable, required
      - `parent_comment_id` string, nullable, required: Parent comment reference. Null for root comments.
      - `is_internal` boolean, required: Whether this comment is internal (team only) or public
      - `entity_type` string, required: Type of entity being commented on (article, campaign, etc.)
      - `entity_id` string, uuid, required: ID of the entity being commented on
      - `team_id` string, uuid, required
      - `user_id` string, uuid, nullable, required: Presscart user author. Null for API-token comments with external authors.
      - `created_at` union, required
        - string, nullable
        - string
        - unknown
      - `updated_at` union, required
        - string, nullable
        - string
        - unknown
      - `deleted_at` union, required
        - string, nullable
        - string
        - unknown
      - `user` object, nullable, required
        - `first_name` string, nullable, required
        - `last_name` string, nullable, required
  - `total_records` number, required

---

[API](https://skmtc.dev/presscart/apis/presscart-prod-api.md) · [All operations](https://skmtc.dev/presscart/apis/presscart-prod-api/llms.txt) · [OpenAPI document](https://skmtc.dev/presscart/apis/presscart-prod-api/revisions/2154581d845e?raw)
