Skip to main content

Get Download URL

Summary

Returns a URL for downloading files from your site. If you request multiple files at once, you'll receive a zip archive containing those files.

The response object will include a URL. To download the file(s), send a GET request to that address, and the body of the response will be the contents of filePaths.

Endpoint

GET https://mysite.files.com/v1.2/getDownloadFileUrl

Replace mysite.files.com with your site address.

Request Parameters

NameData TypeDescription
access_tokenstringRequired. The session key that identifies which user is authenticated. Either an access token returned by the authenticateUser function, or a a Files.com user API Key.
filePathsstringRequired. Path or folder to be downloaded. Can be an array of paths or just a single string, if downloading one item.
downloadNamestringA name for an archive file, if you are downloading multiple items.
The name will be used in the Content-Disposition header of the final download.

Ready to Transform Your File Infrastructure?

Join over 4,000 organizations that trust Files.com to manage their mission-critical file flows. Start your free trial today and see why we're the #1 rated file orchestration platform.

No credit card required • 7-day free trial • Setup in minutes