# GET /api/files/folders > Files - List Folders - **Endpoint:** `GET /api/files/folders` - **Group:** Files - **Since:** v1.0.0 - **Defined in:** `RestApi/Controllers/FilesController.php` ## Headers | Field | Type | Description | | --- | --- | --- | | `authtoken` | String | Authentication token, generated from admin area | ## Parameters | Field | Type | Required | Description | | --- | --- | --- | --- | | `context` | String | no | Optional folder context. One of: project, client, file_manager. | | `context_id` | Number | no | Optional owning record ID (project ID for project, client ID for client). | | `parent_id` | Number | no | Optional parent folder ID. Send 0 for root folders. | | `limit` | Number | no | Optional page size, 1 to 200. Default: `50`. | | `offset` | Number | no | Optional number of rows to skip. Default: `0`. | ## Request example ```bash curl -X GET "https://yoursite.com/index.php/api/files/folders" \ -H "authtoken: YOUR_API_TOKEN" ``` ## Responses ### Success - Success-Response: ```json 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 - Error-Response: ```json HTTP/1.1 404 Not Found { "status": false, "messages": { "error": "No data were found" } } ``` --- Part of the [REST API for RISE CRM](https://risecrm.themesic.com/apiguide/) documentation. Full page: https://risecrm.themesic.com/apiguide/files/get-file-folders/