Check on the status of an import job
This endpoint allows you to check on the status of an import job that was started via the Localize REST API using the Import content endpoint. The Import content endpoint will return the ID of the import job. Use this ID in your call to the Import status endpoint. For larger import jobs you might want to set up a loop that continues to check on the status of the import until you either get a status of completed
or an error.
Possible values for the returned status
- initiated
- in-progress
- completed
- failed
The results of a completed import are also returned in the data
key, which shows the number of phrases in the following categories:
- ignored
- updated
- duplicate
- success
- created
You can create and view your API Private Key here.
Try it
To test this endpoint using the Try It feature:
- Copy your Localize API Key into the Header field in the AUTHENTICATION section on the right.
- Fill in all required fields below, and any optional fields as needed.
- Click the Try it button.
- 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!