---
title: "Create Comment"
method: POST
path: "/finalize/v2/agreements/{agreement_id}/comments"
tags: ["Finalize Comments"]
---

# Create Comment

`POST /finalize/v2/agreements/{agreement_id}/comments`

## Request

- Base URL: `https://api.linksquares.com/api`
- URL: `https://api.linksquares.com/api/finalize/v2/agreements/{agreement_id}/comments`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/linksquares/apis/linksquares-api/docs/finalize/v2/agreements/:agreement_id/comments/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `agreement_id` string, uuid, required

## Request body

- object
  - `data` object
    - `text` string, required: The text of the comment.

## Response `201`

created

- object
  - `data` object, required
    - `id` string, uuid, required: The UUID of the comment record.
    - `author_id` string, uuid, required: The UUID of the author of the comment record.
    - `text` string, required: The text content of the comment.
    - `commentable_id` string, uuid, required: The UUID of the agreement.
    - `created_at` string, date-time, required: The ISO 8601 datetime of when the comment was created.

## Other responses

- `404`: not_found
- `422`: unprocessable_entity

---

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