---
title: "Add a comment to a job or commit"
method: POST
path: "/api/comment"
tags: ["comments"]
---

# Add a comment to a job or commit

`POST /api/comment`

## Request body

- AddCommentRequest
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `comment` string, required
  - `commenter` string, required
  - `job_id` integer
  - `sha` string

## Response `201`

Created

- Response
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `commit_id` integer
  - `created_at` string, date-time, required
  - `id` integer, required
  - `job_id` integer
  - `responder` string, required
  - `response` string, required
  - `source_machine_id` string
  - `synced_at` string, date-time
  - `uuid` string

## Other responses

- `default` — Error

---

[API](https://skmtc.net/kenn-io/apis/roborev.md) · [All operations](https://skmtc.net/kenn-io/apis/roborev/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kenn-io/roborev/versions/fe4e5cad4210/schema)
