TranslateDocuments

Download Translated Document

Changed on

Download 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 URL
    https://api.deepl.com
  • URL
    https://api.deepl.com/v2/document/{document_id}/result
  • Auth
    API 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

document_keystring required

The document encryption key that was sent to the client when the document was uploaded to the API.

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/json for the response with the status

    • info

      added the media type application/json for the response with the status