Export content (OLD)

Recipes
Import a File using cURL
Open Recipe
Export a File using cURL
Open Recipe

You can create and view your API Private Key here.

Try it

To test this endpoint using the Try It feature:

  1. Copy your Localize API Key into the Header field in the AUTHENTICATION section on the right.
  2. Fill in all required fields below, and any optional fields as needed.
  3. Click the Try it button.
  4. View the results and any error returns on the right side of the screen.

Feel free to copy the sample code provided on the right side of the screen into your source code project to get a start on using this endpoint.

Note that using the Try It feature will affect the data in your Localize dashboard!

You can find the language codes here in your dashboard.

📘

File Download

If using Try It and your attempt is successful, you will see an on-screen message that says "A binary file was downloaded", showing that a file would have been downloaded.

You can click on the Metadata link to see more info about the downloaded file, but a file won't actually be downloaded, it's just a simulation.

Path Params
string
required
Defaults to YOUR_PROJECT_KEY

The Project Key (this is NOT the Project ID)

Query Params
string
required

The language code of the content you are exporting.

string
required

The format of the resource.
Valid Formats (case-sensitive):

  • ANDROID_XML
  • CSV
  • GETTEXT_PO
  • JSON
  • IOS_STRINGS
  • IOS_STRINGSDICT
  • PO
  • RESX
  • SIMPLE_JSON
  • XLIFF
  • XML
  • YAML
  • YML

string
Defaults to phrase

What type of content. Either 'phrase' or 'glossary'

string

An optional array of labels (or a single label) which are OR'd together.
- When using the Try It feature, separate labels with a comma with NO space in between.

string

Optional filters for content. Possible values are (not including the description part that's in parentheses):

  • 'has-active-translations' (= Published translations)
  • 'machine-translations' (=Machine translations)
  • 'human-translations' (= Human translations)
  • 'no-translations' (= No translations)
  • 'no-human-translations' (= Needs human translations)
  • 'needs-review' (= Translations that need review)
  • 'needs-translations' (= Phrases that need translations)
  • 'translations-rejected' (= Phrases with rejected translations)

string

The context field for the phrases. This must exactly match the context in the phrase.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json