---
title: "Create Comment"
method: POST
path: "/claims/{claim_id}/comments"
tags: ["claims"]
---

# Create Comment

`POST /claims/{claim_id}/comments`

## Request

- Base URL: `https://api.claimkit.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.claimkit.co/claims/{claim_id}/comments`
- Auth: none declared

Create a review comment on a claim.

Handles three cases:
- Root comment (no parent_id): Admin only, claim must be in "tracking" or "review" status.
- Reply (has parent_id): Anyone with claim access, thread must be open.
- Confirm action (is_confirmation=True): Non-admin only, root must be confirm-type.

Tracking-only collaborators pass the gate but may only reply or confirm
on threads about non-financial questions — the ones ``list_comments``
shows them (``_assert_thread_open_to_tracking_only``).

## Path parameters

- `claim_id` integer, required

## Request body

- CreateCommentRequest
  - `answer_id` integer, nullable
  - `question_id` integer, nullable
  - `instance_id` integer
  - `parent_instance_id` integer, nullable
  - `comment_type` string, nullable
  - `parent_id` integer, nullable
  - `comment` string, nullable
  - `is_confirmation` boolean

## Response `200`

Successful Response

- CommentResponse
  - `id` integer, required
  - `answer_id` integer, required
  - `comment` string, nullable
  - `comment_type` string, nullable
  - `status` string, nullable
  - `parent_id` integer, nullable
  - `is_confirmation` boolean
  - `user` CommentUserEmbedded, required
    - `id` integer, required
    - `name` string, nullable
  - `created_at` string, required
  - `updated_at` string, nullable

## Other responses

- `422`: Validation Error

---

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