---
title: "Add Task Comment"
method: POST
path: "/v1/projects/{project_id}/tasks/{task_id}/comments"
tags: ["project-tasks"]
---

# Add Task Comment

`POST /v1/projects/{project_id}/tasks/{task_id}/comments`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/projects/{project_id}/tasks/{task_id}/comments`
- Auth: none declared

Post a comment (any project member). With `options` it is a decision request.
404 if the task is hidden from the caller (translator/qa see only their own).

## Path parameters

- `project_id` string, required
- `task_id` string, required

## Request body

- CommentCreateIn
  - `body` string: Markdown comment body.
  - `options` CommentOptionIn[], nullable: Provide choices to make this a DECISION request awaiting an answer.
    - `id` string, nullable: Stable choice id; defaults to its 1-based position.
    - `label` string, required

## Response `200`

Successful Response

- CommentOut
  - `uuid` string, required
  - `task_uuid` string, required
  - `author` object, nullable
  - `body` string
  - `kind` string
  - `options` object[], nullable
  - `answer` object, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

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