Users

Get user’s last active timesheet

GET active timesheet

Endpoint

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

Request

Route

GET /api/v1/users/2000/active_timesheet

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIyMDAwIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYzNjI2NDE3LCJleHAiOjE3NjYyMTg0MTcsImp0aSI6ImNjNDM4ZWNhLWNjOTQtNDY3YS04ZjBhLWMxNTNjMmM2NWUzNSJ9.V68jbTOOQkndHYy5EMXIkL6x1aYgGEDpjO0Xp9gqI_8
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/"69382200d3143797fe4e6db3a26e7a55"
cache-control: max-age=0, private, must-revalidate
x-request-id: 8ca0a1b6-77bf-4af1-b5bb-65f9863e2e6c
x-runtime: 0.007619
content-length: 251

Body

{
  "timesheet": {
    "id": 229,
    "currency": "GBP",
    "date": "2025-11-20",
    "job_title": "Mining Engineer",
    "payment_state": "pending",
    "status": "in_progress",
    "timelog": {
      "id": 284,
      "amend_status": "original",
      "breaks": [

      ],
      "end_at": null,
      "start_at": "2025-11-20T08:13:37.013Z"
    }
  }
}