---
title: "Create a comment"
method: POST
path: "/task/{connection_id}/comment"
tags: ["task", "comment"]
---

# Create a comment

`POST /task/{connection_id}/comment`

## Path parameters

- `connection_id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Request body

- TaskComment
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `text` string
  - `user_id` string
  - `user_name` string
  - `task_id` string
  - `parent_id` string
  - `has_children` boolean
  - `raw` object

## Response `200`

Successful

- TaskComment
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `text` string
  - `user_id` string
  - `user_name` string
  - `task_id` string
  - `parent_id` string
  - `has_children` boolean
  - `raw` object

## Changes

- **2026-07-31** `963bcc74f9e3` — 6 info
  - added the new optional request property `has_children`
  - added the new optional request property `parent_id`
  - added the enum value `has_children` to the property `items/` of the `query` request parameter `fields`
  - added the enum value `parent_id` to the property `items/` of the `query` request parameter `fields`
  - …2 more

[Change history](https://skmtc.dev/unified/apis/unified-to-api/changes/task/:connection_id/comment/post.md)

---

[API](https://skmtc.dev/unified/apis/unified-to-api.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/unified/unified-to-api/revisions/45664a7696ac/schema)
