---
title: "Add comment to task"
method: POST
path: "/api/tasks/{id}/comments"
tags: ["Tasks"]
---

# Add comment to task

`POST /api/tasks/{id}/comments`

## Path parameters

- `id` integer, required

## Request body

- object
  - `content` string, required
  - `author` string

## Response `201`

Comment added

- object
  - `comment` object

## Other responses

- `400` — Invalid request
- `401` — Authentication required
- `403` — Insufficient permissions
- `404` — Resource not found

## Changes

- **2026-03-02** `39aff788d955` — 4 info
  - added the media type `application/json` for the response with the status `400`
  - added the media type `application/json` for the response with the status `401`
  - added the media type `application/json` for the response with the status `403`
  - added the media type `application/json` for the response with the status `404`

[Change history](https://skmtc.dev/builderz-labs/apis/mission-control-api/changes/api/tasks/:id/comments/post.md)

---

[API](https://skmtc.dev/builderz-labs/apis/mission-control-api.md) · [All operations](https://skmtc.dev/builderz-labs/apis/mission-control-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/builderz-labs/mission-control-api/revisions/b920835b2793/schema)
