Users

Get user’s last active timesheet

GET active timesheet

Endpoint

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

Request

Route

GET /api/v1/users/1949/active_timesheet

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxOTQ5Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjMyLCJleHAiOjE3NTU4NTgyMzIsImp0aSI6IjI4MmZhMDRmLTJiNzktNDVkMS05MWM0LTBkZGRjNGYwMDI5NiJ9.jX6xxFCnLBkPADJsP0NTIDF4wukLPK5UMK0oL-ko4OM
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/"f979f0a61f89381281c9d1a4c05bd9c5"
cache-control: max-age=0, private, must-revalidate
x-request-id: 77963979-0b2a-416f-b4b8-b6fa8c37541e
x-runtime: 0.013427
content-length: 235

Body

{
  "timesheet": {
    "id": 211,
    "date": "2025-07-23",
    "job_title": "Internal Manager",
    "payment_state": "pending",
    "status": "in_progress",
    "timelog": {
      "id": 263,
      "amend_status": "original",
      "breaks": [

      ],
      "end_at": null,
      "start_at": "2025-07-23T10:23:52.195Z"
    }
  }
}