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

# Get comments

`GET /comments`

## Request

- Base URL: `https://api.sandbox.monite.com/v1`
- URL: `https://api.sandbox.monite.com/v1/comments`
- Auth: HTTP bearer

Get comments

## Query parameters

- `object_type` 'payable', required
- `object_id` string, uuid, required
- `order` 'asc' | 'desc'
- `limit` integer
- `pagination_token` string
- `sort` 'id'
- `created_at__gt` string, date-time
- `created_at__lt` string, date-time
- `created_at__gte` string, date-time
- `created_at__lte` string, date-time

## Headers

- `x-monite-version` string, required
- `x-monite-entity-id` string, required

## Response `200`

Successful Response

- CommentResourceList
  - `data` CommentResource[], required
    - `id` string, uuid, required
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `created_by_entity_user_id` string, uuid, required
    - `entity_id` string, uuid, required
    - `object_id` string, uuid, required
    - `object_type` string, required
    - `reply_to_entity_user_id` string, uuid
    - `status` 'active' | 'deleted', required
    - `text` string, required
  - `next_pagination_token` string: A token that can be sent in the `pagination_token` query parameter to get the next page of results, or `null` if there is no next page (i.e. you've reached the last page).
  - `prev_pagination_token` string: A token that can be sent in the `pagination_token` query parameter to get the previous page of results, or `null` if there is no previous page (i.e. you've reached the first page).

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `409`: Possible responses: `Action {action} for {object_type} not allowed`, `Action for {object_type} at permissions not found: {action}`, `Object type at permissions not found: {object_type}``{operation}: status has not changed`
- `422`: Validation Error
- `500`: Internal Server Error

---

[API](https://skmtc.dev/monite/apis/monite-3.md) - [All operations](https://skmtc.dev/monite/apis/monite-3/llms.txt) - [OpenAPI document](https://skmtc.dev/monite/apis/monite-3/revisions/c13be6f83ce9?raw)
