---
title: "Create comment"
method: POST
path: "/api/v1/comments"
tags: ["Comments & Suggestions "]
---

# Create comment

`POST /api/v1/comments`

## Request

- Base URL: `https://api.simplelocalize.io`
- URL: `https://api.simplelocalize.io/api/v1/comments`
- Auth: one of:
  - API key in header `X-SimpleLocalize-Token`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/simplelocalize/apis/simplelocalize-api/docs/api/v1/comments/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new comment for a given key and language.

The `Authorization` header with a Personal Access Token is required — comments are always
attributed to the authenticated user and require write access to the target language.

## Headers

- `X-SimpleLocalize-Token` string, required
- `Authorization` string, required

## Request body

- ApiCommentCreateRequest
  - `namespace` string: Namespace of the translation key
  - `key` string, required: Translation key
  - `language` string, required: Language key the comment is for
  - `content` string, required: Comment content

## Response `200`

OK

## Other responses

- `400`: Bad Request
- `402`: Payment Required
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `429`: Too Many Requests
- `500`: Internal Server Error

## Changes

- **2026-11-07** `67a25a25863a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/simplelocalize/apis/simplelocalize-api/changes/api/v1/comments/post.md)

---

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