Skip to content

Set a translation

Creates or updates the translation for one language on an entry (upsert). The language must be one of the project’s translation languages.

PUT /api/v1/entries/{id}/translations

AuthRequired
Query parametersNone
NameTypeDescription
idstringEntry id
Authorization: Bearer <your-api-key>
Content-Type: application/json
{
"language": "de-DE",
"translation": "Impressum"
}
FieldTypeRequiredDescription
languagestringyesTarget locale code
translationstringyesTranslated text
Terminal window
curl -sS -X PUT https://collingo.app/api/v1/entries/clentry0123456789abcdefg/translations \
-H "Authorization: Bearer <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"language": "de-DE",
"translation": "Impressum"
}'
{
"id": "cltr0123456789abcdefghij",
"language": "de-DE",
"translation": "Impressum",
"translatorId": "cluser0123456789abcdefgh",
"createdAt": "2026-07-01T13:00:00Z"
}
StatusWhen
400Validation failed or invalid language
401Missing or invalid API key (ERR_UNAUTHORIZED)
403Insufficient role (ERR_FORBIDDEN)
404Entry not found
500Database or internal error