Timesheets

List timesheets OR amends

GET timesheets

Endpoint

GET /api/v1/timesheets

Parameters

Name Description In
by_name Filter by name
from_date Filter by date
to_date Filter by date
by_job Filter by job ID
by_kind required Filter by kind ["timesheet", "amended", "deleted", "in_progress"]

Request

Route

GET /api/v1/timesheets?by_kind=timesheet

Headers

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

Query Parameters

by_kind=timesheet

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
per-page: 20
total: 1
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"e92aad4ba6ed8bcbb66d608a3fff170a"
cache-control: max-age=0, private, must-revalidate
x-request-id: 5b660c08-6e1d-48b4-b3b7-edae6d020c99
x-runtime: 0.044536
content-length: 296

Body

{
  "timesheets": [
    {
      "id": 222,
      "currency": "GBP",
      "date": "2025-11-20",
      "job_number": 34256927,
      "job_title": "Senior Consulting Officer",
      "payment_state": "pending",
      "status": "pending",
      "timelog": {
        "id": 273,
        "amend_status": "original",
        "breaks": [

        ],
        "end_at": null,
        "start_at": "2025-11-20T08:13:29.048Z"
      },
      "total": "0.0"
    }
  ]
}