Manual
CLI
API
Log in Get started free

Comment on a translation

Adds a comment to the translation of a key in one language.

Adds a comment to the translation of a key in one language.

HTTP
POST /keys/{keyId}/translations/{language}/comments

Access: Session token only. API keys get 403 with insufficient_scope.

Role: Any role in the project.

Path parameters #

ParameterDescription
keyIdThe id of the key.
languageThe language code, such as de-de.

Request body #

JSON.

FieldTypeRequiredDescription
bodystringyesThe comment. At most 2000 characters.
JSON
{ "body": "Is this the right tone?" }

Response 201 #

The comment is added. There is no body.

Errors #

StatuserrorWhen
401unauthenticatedThe token is missing or not valid.
404not_foundThe key does not exist, you have no access to its project, or keyId is not a UUID.
422invalid_requestbody is empty or too long.
429rate_limitedToo many requests, see Rate limiting.

See Errors for the error format.