Users

Get user’s last active timesheet

GET active timesheet

Endpoint

GET /api/v1/users/:id/active_timesheet

Request

Route

GET /api/v1/users/1928/active_timesheet

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxOTI4Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDgxLCJleHAiOjE3NjM1NDI0ODEsImp0aSI6Ijg3ZGM2ZTU1LWQ1MDEtNDhmZS1iZDYwLWNjZGQ4MjMwYTI2NiJ9.dhZt80z614BuesZXn_PdjITq_1t1PUV_J3pxwzX86NI
Host: example.org
Cookie: 

Query Parameters

{}=

Body

{
}

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/"807156beeba6bf5853b5ded4b44ee180"
cache-control: max-age=0, private, must-revalidate
x-request-id: ee748128-f453-472d-b52d-7f37681461fc
x-runtime: 0.009474
content-length: 253

Body

{
  "timesheet": {
    "id": 211,
    "currency": "GBP",
    "date": "2025-10-20",
    "job_title": "Internal Director",
    "payment_state": "pending",
    "status": "in_progress",
    "timelog": {
      "id": 263,
      "amend_status": "original",
      "breaks": [

      ],
      "end_at": null,
      "start_at": "2025-10-20T08:54:41.498Z"
    }
  }
}