List timesheets OR amends
Timesheets
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.eyJzdWIiOiIxNjY4Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjIxLCJleHAiOjE3NTU4NTgyMjEsImp0aSI6ImU3ZDAzZTFlLWM5ZTQtNDZlZC04YWE1LWQ3YmU3OWJmNzEyYiJ9.7j2Q4_Wr2pRYVvQDZOP2NgfVlnp_5WYMEfNxis0qRxU
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/"631187e4538691a1f59d147d15aa1301"
cache-control: max-age=0, private, must-revalidate
x-request-id: 88abced7-ec2c-4fd3-86c8-8a2dffa8997e
x-runtime: 0.030047
content-length: 274
Body
{
"timesheets": [
{
"id": 204,
"date": "2025-07-23",
"job_number": 27637731,
"job_title": "Accounting Architect",
"payment_state": "pending",
"status": "pending",
"timelog": {
"id": 252,
"amend_status": "original",
"breaks": [
],
"end_at": null,
"start_at": "2025-07-23T10:23:41.842Z"
},
"total": "0.0"
}
]
}