---
title: "Retrieve all comments for a ticket"
method: GET
path: "/api/v2/organizations/{orgSlug}/ticket-comments/{ticketId}"
tags: ["Ticket Comments"]
---

# Retrieve all comments for a ticket

`GET /api/v2/organizations/{orgSlug}/ticket-comments/{ticketId}`

## Request

- Base URL: `https://app.officernd.com`
- URL: `https://app.officernd.com/api/v2/organizations/{orgSlug}/ticket-comments/{ticketId}`
- Auth: OAuth 2
  - Authorization code: `https://identity.officernd.com/auth/authorize`
  - Client credentials
  - Token URL: `https://identity.officernd.com/auth/token` scopes: `flex.collaboration.ticketComments.read`

Retrieve a paginated list of all comments for a specific ticket. 

 Required scopes: `flex.collaboration.ticketComments.read`

## Path parameters

- `ticketId` string, required
- `orgSlug` string, required

## Query parameters

- `$select` string
- `$cursorNext` string
- `$cursorPrev` string
- `$limit` number

## Response `200`

- object
  - `rangeStart` number
  - `rangeEnd` number
  - `cursorNext` string
  - `cursorPrev` string
  - `results` TicketCommentResultDto[]
    - `_id` string: The _id of the item.
    - `text` string: The text of the comment.
    - `target` string: The _id of the target item.
    - `targetType` 'team' | 'member' | 'payment' | 'issue': The type of the target item.
    - `member` string: The _id of the member who posted the comment.
    - `isPublic` boolean: Boolean that shows whether the comment is public.

---

[API](https://skmtc.dev/officernd/apis/collaboration-api.md) - [All operations](https://skmtc.dev/officernd/apis/collaboration-api/llms.txt) - [OpenAPI document](https://skmtc.dev/officernd/apis/collaboration-api/revisions/f868beae3384?raw)
