Get Folders List
Get Folders List
Retrieves the list of folders for the authenticated user.
You can optionally filter folders by parent folder ID.
Method: GET
URL: {{base_url}}/folders
Authentication
This endpoint requires authentication.
Use a Bearer token in the Authorization header:
Headers
Query Parameters
Example:
Required Variables
Sample Request
Sample Success Response
A successful request typically returns HTTP 200 OK.
Response Fields
Notes
- The
childrenfield contains nested subfolders. parent_id = nullindicates a root-level folder.- Useful for building folder tree structures in file manager UIs.
- The
file_countfield indicates how many files exist in each folder.
Response
OK
data
success
