---
title: "Retrieve all comments"
method: GET
path: "/comments"
tags: ["Phone Number Orders"]
---

# Retrieve all comments

`GET /comments`

## Query parameters

- `filter` object
  - `comment_record_type` 'sub_number_order' | 'requirement_group' — Record type that the comment relates to
  - `comment_record_id` string — ID of the record the comments relate to

## Response `200`

An array of Comment Responses

- object
  - `data` Comment[]
    - `id` string, uuid
    - `body` string
    - `commenter` string
    - `commenter_type` 'admin' | 'user'
    - `comment_record_type` 'sub_number_order' | 'requirement_group'
    - `comment_record_id` string, uuid
    - `read_at` string, date-time — An ISO 8901 datetime string for when the comment was read.
    - `created_at` string, date-time — An ISO 8901 datetime string denoting when the comment was created.
    - `updated_at` string, date-time — An ISO 8901 datetime string for when the comment was updated.
  - `meta` PaginationMeta
    - `total_pages` integer, required
    - `total_results` integer
    - `page_number` integer, required
    - `page_size` integer

## Other responses

- `400` — Bad request, the request was unacceptable, often due to missing a required parameter.
- `401` — Unauthorized
- `404` — The requested resource doesn't exist.
- `422` — Unprocessable entity. Check the 'detail' field in response for details.
- `500` — Unexpected error

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api/revisions/e32d46c5945b/schema)
