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.

Get The File Orchestration Platform Today

4,000+ organizations trust Files.com for mission-critical file operations. Start your free trial now and build your first flow in 60 seconds.

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