---
title: "POST /ticket/comments"
method: POST
path: "/ticket/comments"
tags: ["TicketComment"]
---

# POST /ticket/comments

`POST /ticket/comments`

Post comment

## Query parameters

- `fields` string, nullable

## Request body

- TicketCreateOrUpdateCommentRequest
  - `body` string, required — The contents of the comment in plain text or HTML format.
  - `taskId` string, required — Task or Issue to which comment must belong

## Response `200`

- TicketCreateOrUpdateCommentResponse
  - `status` 'ok' | 'error', required
  - `message` string, required
  - `result` unknown, required

## Other responses

- `401`
- `404`
- `500`

## Changes

- **2024-04-02** `e49ead31a470` — 1 info
  - added the new optional `query` request parameter `fields`
- **2024-03-04** `52cc79f75cb0` — 1 warning
  - deleted the `query` request parameter `fields`

[Change history](https://skmtc.dev/revertinc/apis/revert-api/changes/ticket/comments/post.md)

---

[API](https://skmtc.dev/revertinc/apis/revert-api.md) · [All operations](https://skmtc.dev/revertinc/apis/revert-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/revertinc/revert-api/revisions/698ea54a2330/schema)
