Download Document

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Downloads a Zoho Writer document in the specified file format, with options to control how tracked changes, comments, and styles are rendered, or to format signature fields for compatibility with a third-party e-signature service.

Endpoints

OAuth Scope

ZohoWriter.documentEditor.ALLWorkDrive.files.ALLWorkDrive.organization.ALLWorkDrive.workspace.ALLCopied!

Request Example

cURL
cURL
Deluge
Copied!
curl --request GET \
  --url 'https://www.zohoapis.com/writer/api/v1/download/a1b2c3d4e5f6g7h8i9?format=SOME_STRING_VALUE&options=[object Object]&sign_service_name=SOME_STRING_VALUE&password=SOME_STRING_VALUE' \
  --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'

Path Parameters

document_idstring(Required)

The unique ID of the document to download.

Query Parameters

formatstring(Optional)

The format in which to download the document.

Allowed Values :
Show Values
docxCopied!
odtCopied!
rtfCopied!
txtCopied!
htmlCopied!
pdfCopied!
zipCopied!
epubCopied!
Copied!Copy all as JSON Array
Default Value :docxdocxCopied!
optionsJSON Object(Optional)

Controls how tracked changes, comments, and styles appear in the downloaded file.

Hide Sub-Attributes
include_changesstring(Optional)

How tracked changes are reflected. as_markups includes markup annotations; all accepts all changes; none rejects all changes.

Allowed Values :
Show Values
as_markupsCopied!
allCopied!
noneCopied!
Copied!Copy all as JSON Array
Default Value :nonenoneCopied!
include_commentsstring(Optional)

Whether to include comments in the downloaded file. all includes them; none excludes them. Applicable only for docx and pdf formats.

Allowed Values :
Show Values
allCopied!
noneCopied!
Copied!Copy all as JSON Array
Default Value :nonenoneCopied!
include_stylesstring(Optional)

Whether to include styles. as_inline retains font colors and sizes as inline styles; none retains only headings, basic formatting, and hyperlinks. Applicable only for html and zip formats.

Allowed Values :
Show Values
as_inlineCopied!
noneCopied!
Copied!Copy all as JSON Array
Default Value :as_inlineas_inlineCopied!
sign_service_namestring(Optional)

The third-party e-signature service used to format signature-field tags in the downloaded PDF, so the file is compatible if later uploaded to that service. Applicable only when format is pdf.

Allowed Values :
Show Values
zohosignCopied!
adobesignCopied!
docusignCopied!
Copied!Copy all as JSON Array
Default Value :zohosignzohosignCopied!
passwordstring(Optional)

A password to protect the downloaded document. Applicable only for docx and pdf formats.

Maximum Length :255255Copied!

Response Example

200
Copied!
200 Document downloaded successfully.
Show full