---
title: "Add a review comment or reply"
method: POST
path: "/api/v1/production-review/submissions/{submissionRef}/comments"
tags: ["Production Review"]
---

# Add a review comment or reply

`POST /api/v1/production-review/submissions/{submissionRef}/comments`

## Request

- Base URL: `https://numonic.ai`
- URL: `https://numonic.ai/api/v1/production-review/submissions/{submissionRef}/comments`
- Auth: API key in header `x-api-key`

Scope `write`. `replyToRef` must be a comment on the same submission.

## Path parameters

- `submissionRef` string, required: URL-encoded submission reference `native:<40-hex>` (EntityRef wire form)

## Headers

- `Idempotency-Key` string, required: Client-generated key (e.g. a UUID). Replaying the same key returns the original result; reusing it with a different payload is 409.

## Request body

- object
  - `body` string, required
  - `replyToRef` string
  - `mentions` string[]

## Response `201`

Comment created (or the original, on replay)

- ReviewComment
  - `ref` string, required
  - `submissionRef` string, required
  - `body` string, required: Markdown
  - `author` object, required
    - `displayName` string, required
    - `numonicAgentId` string
  - `createdAt` string, required
  - `replyTo` string
  - `mentions` string[]

## Other responses

- `400`: Validation failed or Idempotency-Key missing
- `401`: Unauthorized
- `403`: Insufficient scope or role
- `404`: Not found in this tenant
- `409`: Idempotency-Key reused with a different payload
- `422`: Reply target is not on this submission

---

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