Skip to main content
POST
Export a translation memory
Exporting runs as a background job. This request starts the job and returns a job_id; the TMX file is downloaded separately once the job completes. TMX is currently the only export format, so there is no format parameter.

Exporting a translation memory

1

Start the export

2

Poll the job and download the file

Check the job until status is completed, then download the file from download_url on the job result.

Handling 200, 202, and 409

The status code tells you whether a new job was started: Treat 200 and 202 the same way. Both return a usable job_id, and the only difference is whether DeepL did the work again.
Do not retry on 409. Retrying will keep conflicting with the in-progress export. Poll the job_id from your earlier request instead, and hold onto that ID so you can recover without a retry loop.
download_url is short-lived and stops working at expires_at. Download the file when the job completes rather than storing the URL for later. If the URL has expired, start a new export.

Authorizations

Authorization
string
header
default:DeepL-Auth-Key
required

Authentication with Authorization header and DeepL-Auth-Key authentication scheme. Example: DeepL-Auth-Key <api-key>

Path Parameters

translation_memory_id
string<uuid>
required

The ID of the translation memory to export. A unique ID assigned to a translation memory.

Example:

"a74d88fb-ed2a-4943-a664-a4512398b994"

Response

An existing export was reused. Poll the returned job_id for the download URL.

A reference to a translation memory export job.

job_id
string<uuid>
required

The identifier of the export job. Use it to poll the job's status.

Example:

"7c2e5a91-3b8d-4f16-8e0a-6d4c2b7f9a13"

parameters
object
required