---
title: "Get Comment Threads by Reference"
method: GET
path: "/v1/comment_thread"
tags: ["Comment"]
---

# Get Comment Threads by Reference

`GET /v1/comment_thread`

Retrieve all comment threads associated with a specific reference

## Query parameters

- `reference_type` 'process_section' | 'table' | 'table_view', required
- `reference_id` string, uuid, required
- `main_reference` string

## Response `200`

Successfully retrieved the comment threads

- object
  - `metadata` object
  - `data` CommentThread[]
    - `publicId` string, uuid
    - `resolvedAt` string, date-time
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `deletedAt` string, date-time
    - `resolver` User2
      - `name` string
    - `comments` Comment[]
      - `publicId` string, uuid
      - `commentText` string
      - `user` SummaryUser
        - `firebaseUserId` string
        - `publicId` string, uuid
        - `name` string
        - `email` string
        - `profilePicture` string
      - `createdAt` string, date-time
      - `updatedAt` string, date-time
      - `deletedAt` string, date-time
      - `isOwner` unknown
    - `isCommentInitiator` unknown

---

[API](https://skmtc.net/morta-technology/apis/morta-api-reference.md) · [All operations](https://skmtc.net/morta-technology/apis/morta-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/morta-technology/morta-api-reference/revisions/9c58c1c1e7e8/schema)
