listFolders( )


Retrieves a list of folders in the Media Manager. To retrieve a list of folders within a specific folder in the Media Manager, specify the specific folder's ID in the parentFolderId parameter. If no folder is specified, the method retrieves a list of folders within the root folder of the Media Manager.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Blog
Manage Bookings Services and Settings
Manage Challenges
Access Verticals by Automations
Set Up Automations
Manage Media Manager
Read Media Manager
Manage Events
Manage Portfolio
Manage Restaurants - all permissions
Manage Stores
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsListFoldersOptions

Options to use when listing folders from the Media Manager.

Returns
Return Type:Promise<ListFoldersResponse>
Errors

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

Did this help?