curl --request GET \
--url https://api.tiro.ooo/v1/external/users/me/folders/tree \
--header 'Authorization: Bearer <token>'{
"content": [
{
"id": "folder-123",
"title": "Weekly Team Meetings",
"depth": 0,
"isAccessible": true,
"children": "<array>",
"parentId": "folder-456"
}
]
}Retrieve user folder hierarchy as a tree structure
curl --request GET \
--url https://api.tiro.ooo/v1/external/users/me/folders/tree \
--header 'Authorization: Bearer <token>'{
"content": [
{
"id": "folder-123",
"title": "Weekly Team Meetings",
"depth": 0,
"isAccessible": true,
"children": "<array>",
"parentId": "folder-456"
}
]
}API key in format {id}.{secret}
Maximum depth of the tree to return (optional)
1 <= x <= 53
User folder tree structure
Array of items
Show child attributes
Unique identifier for the folder
"folder-123"
Folder title
"Weekly Team Meetings"
Depth level in the folder hierarchy (0 for root)
0
Whether the current user has access to this folder
true
Child folders in the hierarchy
Parent folder ID, null for root folders
"folder-456"