Skip to main content

Download translated document

Use this endpoint to download the translated document when available.

Important

This endpoint should only be invoked after the translation has finished successfully (i.e. a success callback was returned or the job status is set to SUCCESS).


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
jobId uuid REQUIRED
Responses
200

Return the translated document

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

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

429

Too many requests in the time interval

Schema OPTIONAL
detail Detail

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

500

Internal server error

Schema OPTIONAL
detail Detail

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