Users

Get user’s last active timesheet

GET active timesheet

Endpoint

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

Request

Route

GET /api/v1/users/1942/active_timesheet

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxOTQyIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQ4NTE2NTQzLCJleHAiOjE3NTExMDg1NDMsImp0aSI6ImM0OWI1NDM2LTc2OTctNGE1YS05OThjLWVkZjEyM2Q4NTY0NiJ9.7Fs3tbDbfGS3-Im-8YI5_tgoT3ryhKRZlkz9MfYL6tw
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/"636fa47a06da4d7e4f386f62d6bce1d8"
cache-control: max-age=0, private, must-revalidate
x-request-id: f9dad19b-2ef9-41ae-b6cb-c539c585fd34
x-runtime: 0.009030
content-length: 247

Body

{
  "timesheet": {
    "id": 208,
    "date": "2025-05-29",
    "job_title": "Community-Services Executive",
    "payment_state": "pending",
    "status": "in_progress",
    "timelog": {
      "id": 256,
      "amend_status": "original",
      "breaks": [

      ],
      "end_at": null,
      "start_at": "2025-05-29T11:02:23.113Z"
    }
  }
}