Post

Generate Files Download Url


Generates a URL for downloading a compressed file containing specific files in the Media Manager.

The compressed file can contain up to 1000 files.

To generate one or more temporary URLs for downloading a specific file in the Media Manager, use the Generate File Download URL endpoint. You can use the expirationInMinutes parameter to set the URL expiration time, making it more secure than the Generate Files Download URL endpoint. Therefore, to download private files, use the Generate File Download URL endpoint for each private file that you want to generate a download URL for.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Bookings Services and Settings
Manage Media Manager
Manage Portfolio
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/site-media/v1/files/generate-download-url

Did this help?