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.eyJzdWIiOiIxNjYxIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQ4NTE2NTM1LCJleHAiOjE3NTExMDg1MzUsImp0aSI6ImRmZWU4MjBlLWExMWEtNGIwNS04ZTE4LTEyMjI3ZjAxOTJhMCJ9.SrEPd1Zxc0jbmkb58PU9XSWB56mHZRnJRmjn1E48-Ts
Host: example.org
Cookie: 

Query Parameters

by_kind=timesheet

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/"baed5a86cba28a4a8e912d7ae443d73d"
cache-control: max-age=0, private, must-revalidate
x-request-id: 97088802-5369-4ae0-a823-cd70e5f19dc4
x-runtime: 0.045476
content-length: 273

Body

{
  "timesheets": [
    {
      "id": 201,
      "date": "2025-05-29",
      "job_number": 83459273,
      "job_title": "Human Sales Analyst",
      "payment_state": "pending",
      "status": "pending",
      "timelog": {
        "id": 245,
        "amend_status": "original",
        "breaks": [

        ],
        "end_at": null,
        "start_at": "2025-05-29T11:02:15.087Z"
      },
      "total": "0.0"
    }
  ]
}