List Folders
GET/api/files/folders
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| context | String | optional Optional folder context. One of: project, client, file_manager. |
| context_id | Number | optional Optional owning record ID (project ID for project, client ID for client). |
| parent_id | Number | optional Optional parent folder ID. Send 0 for root folders. |
| limit | Number | optional Optional page size, 1 to 200.
|
| offset | Number | optional Optional number of rows to skip.
|
curl -X GET "https://yoursite.com/api/files/folders" \
-H "authtoken: YOUR_API_TOKEN" Success-Response:
HTTP/1.1 200 OK
[
{
"id": "7",
"title": "Contracts",
"folder_id": "a1b2c3d-4e5f6-7g8h-9i0j1-kLmNoPqRsTu",
"parent_id": "0",
"level": "",
"created_by": "1",
"created_at": "2026-07-23 09:15:00",
"permissions": "9-all_team_members,",
"context": "project",
"context_id": "4",
"created_by_user_name": "Jane Doe"
}
] Error-Response:
HTTP/1.1 404 Not Found
{ "status": false, "messages": { "error": "No data were found" } }