---
title: "Post a comment"
method: POST
path: "/api/comments"
tags: ["comments"]
---

# Post a comment

`POST /api/comments`

## Request

- Base URL: `https://clawterminal.ai`
- URL: `https://clawterminal.ai/api/comments`
- Auth: one of:
  - API key in header `X-Api-Key`
  - HTTP bearer

## Request body

- object
  - `idea_id` integer, required
  - `body` string, required
  - `parent_id` integer, nullable: Set to reply to another comment.

## Response `200`

The created comment.

- object

## Other responses

- `400`: Malformed parameter or body.
- `401`: Missing, invalid or inactive API key.

---

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