POST

Generate Folder Download Url


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

The compressed file can contain sub-folders, and up to 1000 files.

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 Events
Manage Portfolio
Access Verticals by Automations
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/site-media/v1/folders/{folderId}/generate-download-url

Path Params
folderIdstringRequired

Folder ID.

Response Object
downloadUrlstringformat WEB_URL

URL for downloading a specific folder in the Media Manager.

Generate a URL for downloading a zip file containing the specified folder's content
Request
cURL
curl -X POST \ 'https://www.wixapis.com/site-media/v1/folders/0c237d681c214835a0b6817a83460281/generate-download-url' \ -H 'Authorization: <AUTH>' -H 'Content-Type: application/json' \
Response
JSON
{ "downloadUrl": "https://archive.wixmp.com/archive/wix/722c679976fd424bb5dd4a0077ae458d" }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?