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 your 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 Instant Access to Files.com

The button below will take you to our Free Trial signup page. Click on the white "Start My Free Trial" button, then fill out the short form on the next page. Your account will be activated instantly. You can dive in and start yourself or let us help. The choice is yours.

Start My Free Trial

©2024 Files.com. All right reserved

FILES.COM

  • Start My Free Trial
  • Pricing
  • Docs
  • API and SDKs
  • Contact

CONTACT & SUPPORT

support@files.com

(800) 286-8372

Monday–Friday

9am–8pm Eastern