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

# Retrieve all comments

`GET /comments`

Returns comments associated with number-order records. Results can be filtered by record type and record ID and include pagination metadata.

## Query parameters

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

## Response `200`

An array of Comment Responses

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

## Changes

- **2026-08-17** `1571b0380bd7` — 15 breaking, 5 info
  - the response property `errors/items/code` became optional for the status `400`
  - the response property `errors/items/code` became optional for the status `401`
  - the response property `errors/items/code` became optional for the status `404`
  - the response property `errors/items/code` became optional for the status `422`
  - …16 more
- **2026-08-04** `8f5f4e537994` — 5 breaking, 5 warning, 10 info
  - the `errors/items/code` response's property type/format changed from `string`/`` to `integer`/`int32` for status `400`
  - the `errors/items/code` response's property type/format changed from `string`/`` to `integer`/`int32` for status `401`
  - the `errors/items/code` response's property type/format changed from `string`/`` to `integer`/`int32` for status `404`
  - the `errors/items/code` response's property type/format changed from `string`/`` to `integer`/`int32` for status `422`
  - …16 more

[Change history](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/changes/comments/get.md)

---

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