API ReferenceWorkspace Management

List Workspace Folders

GET/api/v1/workspaces/{workspaceId}/folders

List folders in a workspace with filtering, pagination, and sorting options. Use parentId parameter to list folders within a specific parent folder.

Headers

AuthorizationstringRequired

Bearer token for authentication

Path Parameters

workspaceIdstringRequired

The unique identifier of the workspace

Query Parameters

parentIdstringOptional

Filter by parent folder ID. Use 'null' or empty string for root-level folders. Omit to list all folders.

trashedbooleanOptional

Include trashed folders in results

starredbooleanOptional

Only return starred folders

searchstringOptional

Search folders by name (case-insensitive)

limitintegerOptional

Number of folders to return (max 100)

offsetintegerOptional

Number of folders to skip for pagination

sortBystringOptional

Field to sort by

sortOrderstringOptional

Sort direction

GET/api/v1/workspaces/{workspaceId}/folders
Response