Upsert a translation value (write)
Set the translation for one key in one language, creating the value if it doesn’t exist. If the project requires approval, a write by a non-approver lands as pending_review; approvers’ writes are auto-approved — see the approval workflow. Pass ?branch= to stage the change on a branch.
Constraints:
- For a Translator-scoped token, the target language must be within the token owner’s assigned languages, or the request is rejected with 403.
- For a plural key, pass
pluralForm(one,other, …) to target a specific form.
Authorizations
API token: tsu_pat_… (PAT) or tsu_proj_… (project token). The token's granted RBAC permissions determine access; see each operation's x-permission.
Path Parameters
Project id (UUID) or id-embedded path slug.
Translation key id (UUID).
Language code, optionally with a file extension (fr or fr.json).
Query Parameters
Target an open translation branch instead of main. Required when the project's main branch is protected.

