Skip to main content
cURL

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Body

multipart/form-data
file
file

The file to apply, in the shape POST /languages/export produces.

languages
(string | null)[]

Codes of the languages from the file to apply. Each has to be present in the file. Leave the list out to apply all of them.

Example:
overwriteFromFile
boolean
default:false

Lets the file win wherever a translation already has text. Without it the import only fills in what is still empty and leaves existing text untouched.

Example:

false

removeMissing
boolean
default:false

Deletes translation keys the tenant has and the file does not, in every language at once. Without it such keys are kept.

Example:

false

Response

The file was applied.

status
string

Outcome of the operation, reported as a status type constant.

Example:

"SUCCESS"