---
title: "Create comment"
method: POST
path: "/projects/{project_id}/tasks/{task_id}/comments"
tags: ["task"]
---

# Create comment

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

## Request

- Base URL: `https://api.ora.pm`
- URL: `https://api.ora.pm/projects/{project_id}/tasks/{task_id}/comments`
- Auth: OAuth 2
  - Authorization code: `https://app.ora.pm/authorize`
  - Token URL: `https://api.ora.pm/oauth/token` scopes: `read`, `write`

## Request body

- CreateTaskComment
  - `data` string, required: Content of the comment.
  - `public` boolean: If the field is true, the comment will be team only visible. If false - the comment is public.

## Response `200`

OK

## Other responses

- `400`: Bad request
- `401`: Unauthorized

---

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