Documill Leap
Breadcrumbs

Downloading All Version of a Document

Purpose

This endpoint allows integrators to retrieve a zip file containing the signed version and the original, unsigned version of the document, in case they need to be reviewed, stored, or reprocessed.

Request

Method

GET

API endpoint path

https://api.leap.documill.com/api/v1/external/projects/documents/{documentId}/download/zip

Accept

header

application/json

Authorization

header

Your External API Key

Parameters

documentId

The ID of the document.
Should be available when starting a signing process (see Starting a Signing Process).

Response

Code

Notes

200

OK

The zip file containing all version of a document is available for download.

400

BAD_REQUEST

Please check if documentId is valid.

404

NOT_FOUND

The issue could either be the documentId is not valid, or the signing process has been previously deleted.