API: Export translations

Last modified: January 26, 2023Author: Jakub Pomykała

Export translations to downloadable file. Using this endpoint requires authorization.

Endpoint

GET
https://api.simplelocalize.io
/api/v3/export

Sample requests

Download all translations into one file

curl
  --request GET \
  --url https://api.simplelocalize.io/api/v3/export?downloadFormat=multi-language-json \
  --header 'x-simplelocalize-token: <API_KEY>'

Learn more about multi-language-json.

Download translations for one language

curl
  --request GET \
  --url https://api.simplelocalize.io/api/v3/export?downloadFormat=single-language-json&languageKey=en \
  --header 'x-simplelocalize-token: <API_KEY>'

Learn more about single-language-json.

Query parameters

ParameterDescription
downloadFormat(required) See all available download formats
exportOptions(optionsl) See all available export options
languageKey(optional) Set the language key if you want to export translations just for one language
customerId(optional) Set the customer id if you would like to export just customer translations

Successful response

{
    "msg": "OK",
    "status": 200,
    "data": {
        "url": "https://cdn.simplelocalize.io/29fdc3462/snapshot_2021-10-12_13-01-25_063/translations.json"
    }
}