Create timesheet (Clock In)
Timesheets
POST clock in
Endpoint
POST /api/v1/timesheets
Parameters
Name | Description |
---|---|
timesheet[job_id] required | Job ID |
Request
Route
POST /api/v1/timesheets
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjA1Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDcxLCJleHAiOjE3NjM1NDI0NzEsImp0aSI6IjI5ZTUyNmUwLTI1ZDQtNDI3Zi1iZWI1LTNhZDVlNWIyNjc0OSJ9.KM5aqSM3Zc9kNvXtfXVbOySFZsVyiMz9hYlkb7G8KrU
Host: example.org
Cookie:
Body
{
"timesheet": {
"job_id": 581
}
}
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/"2ac235fcec8b23869f5384f12533b21d"
cache-control: max-age=0, private, must-revalidate
x-request-id: 89171904-2b1d-4e17-8ca8-132c54b45733
x-runtime: 0.016627
content-length: 320
Body
{
"timesheet": {
"id": 190,
"currency": "GBP",
"date": "2025-10-20",
"job_title": "Design Engineer",
"overtime_after": {
"seconds": 0.0
},
"overtime_rate": "0.0",
"payment_state": "pending",
"rate": "36.0",
"status": "in_progress",
"timelog": {
"id": 231,
"amend_status": "original",
"breaks": [
],
"end_at": null,
"start_at": "2025-10-20T08:54:31.767Z"
}
}
}