Download document from Zoho Sign

Overview

The zoho.sign.downloadDocument task is used to download documents from Zoho Sign.

Syntax

<response> = zoho.sign.downloadDocument(<requestID>, [<connection>]);

where:

ParamsData TypeDescription

<response>

FILE

The response returned by Zoho Sign which contains the downloaded file object.

<requestID>

NUMBER

The request ID of the document that needs to be downloaded.

Note: You can get the ID of the Zoho Sign request from its URL. The URL is in the format: https://sign.zoho.com/zs#/request/new/<request_id>
(or)
You can get the request ID from the response of zoho.sign.uploadDocument task. Click here to learn how to fetch request ID from the response.

<connection>

(optional)*

TEXT

The name of the connection.

*Note: This param is not applicable to Zoho Creator and mandatory in Zoho Cliq.

Example

The following script downloads the specified document using its request ID:


response  = zoho.sign.downloadDocument(2131000000002069);

where:

response
The FILE response that represents the downloaded file.
2131000000002069
The NUMBER that represents the request ID of the document that needs to be downloaded.

Related Links