List all folders in the workspace. Returns a flat list of all folders.
API ReferenceFolder
List folders
GET
/spaces/{spaceId}/foldersAuthorization API key in the x-api-key header
Path parameters
spaceIdstringrequiredID of the workspace. You can find from the url in dashboard when you open the workspace or using the list workspaces endpoint.
Responses
200List of foldersapplication/json · array of Folder
idstringrequiredcreatedAtstringrequiredupdatedAtstringrequirednamestringrequiredworkspaceIdstringrequiredparentFolderIdstring
400Invalid inputapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
401Authentication failedapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
403You don't have accessapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
404Not found or don't have accessapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available

