Skip to main content

Download translated document

deprecated

This endpoint has been deprecated and may be removed in future versions of the API.

Use this endpoint to download the translated document when available.

Important

You should invoke this endpoint only after a success callback (with the /:job_id of the document) is returned from the POST /v1/documents/translate request.


  • Use the returned /:job_id in the download endpoint: GET /v1/documents/download/:job_id to get your document.
  • The translated document is returned as an HTTP attachment.
Caution
  • The document is only available for 1 hour, after that it is deleted.
  • In case you don't download the translated document within that time, you will need to send another translation request.
Path Parameters
job_id uuid REQUIRED
Responses
200

Return the translated document

Schema OPTIONAL
undefined
400

Translation is not yet finished or it failed

Schema OPTIONAL
detail Detail

The translated document is either not ready yet or the translation has failed

401

The access token provided is missing, expired, revoked, malformed, or invalid for other reasons. The client MAY request a new access token and retry the protected resource request.

Schema OPTIONAL
detail Detail

A generic JSON value, typically a string describing the error.

403

The request requires higher privileges than provided by the access token. The request should not be retried.

Schema OPTIONAL
detail Detail

A generic JSON value, typically a string describing the error.

404

Document translation not found

Schema OPTIONAL
detail Detail

The provided job ID does not exist

422

Validation error

Schema OPTIONAL
detail object[] OPTIONAL
loc undefined[]
msg Message
type Error Type
429

Too many requests in the time interval

Schema OPTIONAL
detail Detail

A generic JSON value, typically a string describing the error.