---
title: "Create New Comment Thread"
method: POST
path: "/v1/comment_thread"
tags: ["Comment"]
---

# Create New Comment Thread

`POST /v1/comment_thread`

Create a new comment thread

## Request body

- CreateCommentThread
  - `context` BaseRequestContext
    - `projectId` string, uuid
    - `processPublicId` string, uuid, nullable
    - `processSectionPublicId` string, uuid, nullable
    - `processResponsePublicId` string, uuid, nullable
  - `referenceType` string, required
  - `referenceId` string, uuid, required
  - `commentText` string, required
  - `mainReferenceId` string, uuid

## Response `200`

Successfully created a new comment thread

- object
  - `metadata` object
    - `change` object — Changes made in this operation
    - `event` string — Event type for the operation
    - `resourceId` string — UUID of the newly created comment thread
  - `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)
