List all Timesheets

GET/api/timesheets

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area
curl -X GET "https://yoursite.com/api/timesheets" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

HTTP/1.1 200 OK
[
  {
    "id": "1",
    "project_id": "1",
    "user_id": "2",
    "task_id": "0",
    "start_time": "2026-06-22 09:00:00",
    "end_time": "2026-06-22 10:30:00",
    "hours": "0",
    "note": "Worked on API",
    "status": "logged"
  }
]
MethodGET
Path/api/timesheets
GroupTimesheets
Sincev1.0.0
Defined inRestApi/Controllers/TimesheetsController.php