Retrieves the folder structure for the library. If folderUUID is provided, returns only the direct subfolders of that folder. If folderUUID is not provided, returns the root folder structure. This endpoint supports lazy loading of folder hierarchies for workflow builders.
UUID of the user. Required to fetch folder structure.
UUID of the folder to fetch subfolders from. If not provided, returns root folder structure. When provided, returns only direct subfolders of the specified folder.
If true, returns only the user's personal library folders. If false, returns organization-level library folders.
If true, includes hidden folders in the response. Default is false.
Folder structure successfully retrieved
{
"uuid": "folder-uuid-root",
"name": "Sales Library",
"organizationUUID": "org-uuid-123",
"parentUUID": "",
"path": "/Sales Library",
"hidden": false,
"userUUID": "",
"subFolders": [
{
"uuid": "folder-uuid-sub-1",
"name": "Best Practices",
"parentUUID": "folder-uuid-root",
"hidden": false,
"totalElements": 15,
"totalFolders": 2
}
],
"subFoldersTotal": 3
}