TranslateDocuments
Download Translated Document
Changed onDownload a translated document. The document must have a status of done. Each document can be downloaded only once: after a successful download DeepL deletes the file and invalidates the document_id.
post/v2/document/{document_id}/result
Request
- Base URLhttps://api.deepl.com
- URLhttps://api.deepl.com/v2/document/{document_id}/result
- AuthAPI key in header Authorization
Path parameters
document_idstring required
The document ID that was sent to the client when the document was uploaded to the API.
Request body
Example request
{
"document_key": "0CB0054F1C132C1625B392EADDA41CB754A742822F6877173029A6C487E7F60A"
}Response
The document is provided as a download. There is no other data included in the response besides the document data. The content type used in the response corresponds to the document type.
Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- info