Home

View a Public Document using Zoho Viewer API

To view a document available in a public URL, use the following REST API:

http://viewer.zoho.com/api/view.do?url=the_url_to_your_document&apikey=your_apikey

This will display the content of the document available in the specified public URL. The following are the possible parameters that can be passed on to the above API

Parameter Required Description
apikey Mandatory Your API Key. If you don't have one, get it here.
url Mandatory The public unauthenticated URL to the document
cache Optional
true - If you want Zoho Viewer to cache the document so that it can serve pages fast. Useful if the document in the URL won't change.
false - If you want Zoho Viewer not to cache the document or to delete the existing cache. This will download the document each time and will be slow. Useful if the document in the URL changes frequently.
Default is true if not provided.
embed
Optional
true - If you want the Zoho Viewer output as an embeddable page
false - otherwise
Default is false if not provided.