List Doc Folders
List all active folders used to organize workspace docs. Folders are returned as a flat list with parentId references; clients reconstruct the tree as needed.
GET
/api/v1/docs/foldersAuthorization
ApiKeyAuth Query Parameters
workspaceId*string
The unique identifier of the workspace.
Response Body
application/json
curl -X GET "https://example.com/api/v1/docs/folders?workspaceId=string"{ "success": true, "data": { "folders": [ { "id": "string", "workspaceId": "string", "parentId": "string", "name": "string", "isSystem": true, "sortOrder": 0, "color": "string", "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "totalCount": 0 }}