Get user’s last active timesheet
Users
GET active timesheet
Endpoint
GET /api/v1/users/:id/active_timesheet
Request
Route
GET /api/v1/users/1918/active_timesheet
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxOTE4Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQyNDY0OTU2LCJleHAiOjE3NDUwNTY5NTYsImp0aSI6ImE4YWQ5MjFlLWVmZTctNGI2YS1iZDZmLTYxOGM4ZGVmZjNiOSJ9.WPUc_ByJvfw9PilaWW92zedzqwFdQ8vJi5xrZm00CG4
Host: example.org
Cookie:
Query Parameters
{}=
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"09bc11630f2560b3aba9b968c8b4fd19"
cache-control: max-age=0, private, must-revalidate
x-request-id: efec1e22-d626-460d-8104-efea6aa05e69
x-runtime: 0.010366
content-length: 239
Body
{
"timesheet": {
"id": 210,
"date": "2025-03-20",
"job_title": "Legal Representative",
"payment_state": "pending",
"status": "in_progress",
"timelog": {
"id": 243,
"amend_status": "original",
"breaks": [
],
"end_at": null,
"start_at": "2025-03-20T10:02:36.459Z"
}
}
}