Import content

Import a file into your Localize dashboard

Recipes
Import a File using cURL
Open Recipe
Export a File using cURL
Open Recipe
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

This endpoint returns a unique importId for the import. You can use this ID to check on the progress of the import by calling the Import status endpoint.

You can create and view your API Private Key here.

You can find the language codes here in your dashboard.

The Try It! feature cannot be used with this endpoint, but you can copy the sample code! Just be sure to replace all of the placeholder values.

Path Params
string
required
Defaults to YOUR_PROJECT_KEY

The Project Key (this is NOT the Project ID)

Body Params
string
required
Defaults to LANG_CODE

The language code for the content you are importing.

string
enum
required
Defaults to CSV

The format of the file being imported.

file
required
Defaults to /path/name/to/file.ext

Local file

string
enum
required
Defaults to phrase

The type of content being imported.

Allowed:
string
enum
Defaults to local

Sets the scope of the imported glossary terms - either local or global.

Allowed:
boolean
Defaults to true

Set this to true if all phrases were reviewed by a human translator.

labels
array of strings

An array of label(s) to add to all phrases in the import.

labels
Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json