v2
latestOpenAPI 3.1.12026-07-2613060964.2 KBAdd Translation
Upload or create a new translation file. The file content should be valid JSON following the translation file structure.
post/v1/{workspace}/translation/content/{locale_file}/
Path parameters
workspacestring required
Workspace slug (staging, production, etc.)
locale_filestring required
Locale file name (e.g., "fr.json", "es-MX.json", "auth.en.json")
Request body
Example request
{
"locale": "fr.json"
}Response
Translation file successfully updated
Example response
{
"filename": "fr.json",
"locale": "fr",
"locale_name": "French",
"action": "updated"
}