# GET /api/files/categories > Files - List File Categories - **Endpoint:** `GET /api/files/categories` - **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 | | --- | --- | --- | --- | | `type` | String | no | Optional category type filter. The shipped schema only defines "project". | | `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/categories" \ -H "authtoken: YOUR_API_TOKEN" ``` ## Responses ### Success - Success-Response: ```json HTTP/1.1 200 OK [ { "id": "2", "name": "Contracts", "type": "project" } ] ``` ### 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-categories/