GET/v2/projects/{projectId}/translations/{languages}

Get translations for specified languages

Retrieves translations for the specified languages in a project. Use ns, branch, and filterTag to narrow the result, and structureDelimiter to choose between a nested response structure and a flat key-value object. Languages you are not permitted to view are silently omitted.

6 parameters
languagesarray<string>required
Comma-separated language tags for the translations to retrieve. Languages you are not permitted to view are silently omitted.
projectIdintegerrequired
The unique identifier of the project containing the translations.
nsstringoptional
Namespace to include in the translation result.
structureDelimiterstringoptional
Delimiter used to convert dotted key names into nested objects; a null value returns a flat key-value object. Defaults to `.` when omitted.
Default:.
filterTagarray<string>optional
Filter returned keys by tag; only keys with at least one specified tag are included. Omit to disable tag filtering.
branchstringoptional
Name of the branch to retrieve translations from.

5 status codes
200Returns the translations as a string in the requested format and structure.
400Returned when a request parameter is invalid.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
401Returned when the request is unauthenticated.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
403Returned when you do not have permission to access the requested translations.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
404Returned when the project or a referenced resource cannot be found.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional

Error handling

A 400 is returned when the request contains invalid values. A 401 is returned when authentication is missing or invalid, a 403 when you lack permission, and a 404 when a referenced resource cannot be found. The languages path parameter must contain the comma-separated language tags to retrieve, and the projectId path parameter must identify the project.