Example request
GET https://api.jupiter-erp.com/api/account/file-folders/tree
Code
curl -X GET 'https://api.jupiter-erp.com/api/account/file-folders/tree' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
-H 'Accept: application/json'Parameters
| Name | In | Required | Description |
|---|---|---|---|
| #/components/parameters/OrderDirParameter | |||
Responses
200OK
| Field | Type | Description |
|---|---|---|
| child_folders_count* | integer | — |
| children | object[] | A recursive structure containing child folders. The nesting can go up to a maximum of 20 levels.
array Elements object |
| files_count* | integer | — |
| hex_color | string | — |
| id* | integer | — |
| key* | string | — |
| name* | string | — |
| parent_id | integer | — |
| protected | boolean | — |
| root* | boolean | — |
| system_key | string | Internal folder key for system-managed folders (e.g. ai_assistant, ai_assistant_user_123). |
Example response
{
"id": 0,
"key": "string",
"root": true,
"parent_id": 0,
"name": "string",
"hex_color": "string",
"files_count": 0,
"child_folders_count": 0
}FileFolders