# POST /api/timesheets > Timesheets - Add New Timesheet - **Endpoint:** `POST /api/timesheets` - **Group:** Timesheets - **Since:** v1.0.0 - **Defined in:** `RestApi/Controllers/TimesheetsController.php` ## Headers | Field | Type | Description | | --- | --- | --- | | `authtoken` | String | Authentication token, generated from admin area | ## Parameters | Field | Type | Required | Description | | --- | --- | --- | --- | | `project_id` | Number | yes | Mandatory Project ID | | `user_id` | Number | yes | Mandatory User ID | | `task_id` | Number | no | Optional Task ID | | `start_time` | String | no | Optional Start time (Y-m-d H:i:s) | | `end_time` | String | no | Optional End time (Y-m-d H:i:s) | | `hours` | Number | no | Optional Manually logged hours (default: 0) | | `note` | String | no | Optional Note | ## Request example ```bash curl -X POST "https://yoursite.com/index.php/api/timesheets" \ -H "authtoken: YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "project_id": "...", "user_id": "..." }' ``` ## Responses ### Success - Success-Response: ```json HTTP/1.1 201 Created { "status": 200, "messages": {"success": "Record saved"}, "id": 1 } ``` --- Part of the [REST API for RISE CRM](https://risecrm.themesic.com/apiguide/) documentation. Full page: https://risecrm.themesic.com/apiguide/timesheets/create-timesheet/