Documents

Download a Document

Changed on

Export a Document that has been translated in the Lilt web application. Any Document can be downloaded in XLIFF 1.2 format, or can be retrieved in its original uploaded format by setting is_xliff=false. This endpoint will fail if either (a) export or (b) pre-translation operations are in-progress. The status of those operations can be determined by retrieving the Document resource. Example CURL command:

  curl -X GET https://api.lilt.com/v2/documents/files?key=API_KEY&id=274 -o from_lilt.xliff
get/v2/documents/files

Request

  • Base URL
    https://api.lilt.com
  • URL
    https://api.lilt.com/v2/documents/files
  • Auth
    HTTP basic

Query parameters

idinteger required

An unique Document identifier.

is_xliffboolean

Download the document in XLIFF 1.2 format.

Response

A file.

Changes

    • breaking

      added the new required query request parameter id

    • info

      api operation id downloadDocument was added

    • info

      added the new optional query request parameter is_xliff

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status