Get Download URL
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.
GET https://mysite.files.com/v1.2/getDownloadFileUrl
Replace mysite.files.com with your site address.
Name | Data Type | Description |
---|---|---|
access_token | string | Required. 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. |
filePaths | string | Required. Path or folder to be downloaded. Can be an array of paths or just a single string, if downloading one item. |
downloadName | string | A 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