---
title: "Comment on a task"
method: POST
path: "/v1/tasks/{taskId}/comments"
tags: ["tasks"]
---

# Comment on a task

`POST /v1/tasks/{taskId}/comments`

## Request

- Base URL: `https://api.flowral.app`
- URL: `https://api.flowral.app/v1/tasks/{taskId}/comments`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (client credentials, token URL `https://api.flowral.app/v1/oauth/token`, scopes: `work:write`)

The one write a viewer credential can make, and the one that is never frozen by work having started.

## Path parameters

- `taskId` string, required

## Request body

- object
  - `body` string, required

## Response `201`

CREATED

- Comment
  - `id` string, required
  - `taskId` string, required
  - `authorId` string
  - `authorName` string
  - `body` string, required
  - `createdAt` string, date-time, required

## Other responses

- `401`: UNAUTHORIZED
- `403`: FORBIDDEN · PLAN_REQUIRED · INSUFFICIENT_SCOPE
- `404`: NOT_FOUND
- `429`: RATE_LIMITED

---

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