# Download Translated Document **POST /v2/document/{document_id}/result** Once the status of the document translation process is `done`, the result can be downloaded. For privacy reasons the translated document is automatically removed from the server once it was downloaded and cannot be downloaded again. ## Servers - DeepL API Pro: https://api.deepl.com (DeepL API Pro) - DeepL API Free: https://api-free.deepl.com (DeepL API Free) ## Authentication methods - Auth header ## Parameters ### Path parameters - **document_id** (string) The document ID that was sent to the client when the document was uploaded to the API. ### Body: application/json (object) - **document_key** (string) The document encryption key that was sent to the client when the document was uploaded to the API. ## Responses ### 200 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. #### Headers - **X-Trace-ID** () A unique identifier for the request that can be included in bug reports to DeepL support. #### Body: application/octet-stream (string(binary)) string(binary) ### 400 Bad request. Please check error message and your parameters. #### Headers - **X-Trace-ID** () A unique identifier for the request that can be included in bug reports to DeepL support. ### 403 Authorization failed. Please supply a valid `DeepL-Auth-Key` via the `Authorization` header. #### Headers - **X-Trace-ID** () A unique identifier for the request that can be included in bug reports to DeepL support. ### 404 Trying to download a document using a non-existing document ID or the wrong document key will result in a 404 error. As stated above, documents can only be downloaded once before they are deleted from the server and their document ID is invalidated. #### Headers - **X-Trace-ID** () A unique identifier for the request that can be included in bug reports to DeepL support. #### Body: application/json (object) - **message** (string) detailed error message ### 413 The request size exceeds the limit. #### Headers - **X-Trace-ID** () A unique identifier for the request that can be included in bug reports to DeepL support. ### 429 Too many requests. Please wait and resend your request. #### Headers - **X-Trace-ID** () A unique identifier for the request that can be included in bug reports to DeepL support. ### 456 Quota exceeded. The character limit has been reached. #### Headers - **X-Trace-ID** () A unique identifier for the request that can be included in bug reports to DeepL support. ### 500 Internal error. #### Headers - **X-Trace-ID** () A unique identifier for the request that can be included in bug reports to DeepL support. ### 503 A 503 result will be returned if the user tries to download a translated document that is currently being processed and is not yet ready for download. Please make sure to check that the document status is 'done' before trying to send a download request. #### Headers - **X-Trace-ID** () A unique identifier for the request that can be included in bug reports to DeepL support. #### Body: application/json (object) - **message** (string) detailed error message ### 504 Resource currently unavailable. Try again later. #### Headers - **X-Trace-ID** () A unique identifier for the request that can be included in bug reports to DeepL support. ### 529 Too many requests. Please wait and resend your request. #### Headers - **X-Trace-ID** () A unique identifier for the request that can be included in bug reports to DeepL support. [Powered by Bump.sh](https://bump.sh)