---
title: "Add comment on a task"
method: POST
path: "/tasks/{taskId}/comments"
tags: ["Task"]
---

# Add comment on a task

`POST /tasks/{taskId}/comments`

Adds a comment to a [VTEX DO](https://help.vtex.com/en/tutorial/vtex-do--7KMbRL4OslN8DTX9oiuCiu) task, filtering by task ID.

## Permissions

This endpoint does not require [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3).

## Path parameters

- `taskId` string, required

## Headers

- `Content-Type` string, required
- `Accept` string, required

## Request body

- object — Text to be added to the task.
  - `text` string, required — Text you wish to add to the task.

## Response `200`

OK

- unknown

---

[API](https://skmtc.dev/vtex/apis/vtex-do-api.md) · [All operations](https://skmtc.dev/vtex/apis/vtex-do-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vtex/vtex-do-api/revisions/606bdad07f53/schema)
