# GET /api/files/{source}/{id} > Files - Get File metadata by source and ID - **Endpoint:** `GET /api/files/{source}/{id}` - **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 | | --- | --- | --- | --- | | `source` | String | yes | Which file table the id belongs to: project or general | | `id` | Number | yes | File unique ID inside that table | ## Request example ```bash curl -X GET "https://yoursite.com/index.php/api/files/source/123" \ -H "authtoken: YOUR_API_TOKEN" ``` ## Responses ### Success - Success-Response: ```json HTTP/1.1 200 OK { "id": "12", "file_name": "file64b1c2-quote.pdf", "service_type": null, "description": "Signed quote", "file_size": "20480", "created_at": "2026-07-23 09:15:00", "project_id": "4", "uploaded_by": "1", "uploaded_by_user_name": "Jane Doe", "source": "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/show-file/