how to get download URL document with just Given Id in WorkDocs through RestAPI


Is there any way to get the download URI of a document Without using version id? I have the Item id of that document but don't have its version id. Is that single rest API that will take the latest version id by default and give the download URL as a response?

asked a month ago19 views
1 Answer


Retrieving a document download url always requires a version Id.

If you don’t have it, you can find it with below call::

Above call returns a Metadata object which contains the version is (

Finally use the versionId to download the document. See below example for sdk:

Hope it helps!

profile picture
answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions