TranslationMemories
Import a translation memory
Changed onCreate a translation memory by importing a TMX file.
This endpoint does not accept the file itself. It returns a short-lived upload_url, and you upload the TMX file to that URL with a separate PUT request. Processing starts automatically once the upload completes, so there is no third call to confirm it.
- POST /v3/translation_memories/import with the file's name and size. The response returns a job_id, an upload_url, and the expires_at time after which the URL stops working.
- PUT the TMX file to upload_url. Do not send your Authorization header on this request, because the URL is already signed.
- Poll Retrieve an import or export job until the status is completed. The new translation_memory_id is on the job result.
Requires an API key with the translation_memories:write scope.
post/v3/translation_memories/import
Request
- Base URLhttps://api.deepl.com
- URLhttps://api.deepl.com/v3/translation_memories/import
- AuthAPI key in header Authorization
Request body
Example request
{
"source_file": {
"file_name": "legal.tmx",
"content_type": "application/xml",
"content_length": 1024
},
"parameters": {
"display_name": "Legal"
}
}Response
The import job was created. Upload the file to upload_url before expires_at.
Example response
{
"job_id": "0f8b6c1e-4d2a-4c77-9a3e-1b5d8c9e2f40",
"upload_url": "https://assets.deepl.com/upload/0f8b6c1e-4d2a-4c77-9a3e-1b5d8c9e2f40",
"expires_at": "2026-08-06T15:34:25.223Z"
}Changes
- info
endpoint added
- info