Timesheets

Create timesheet (Clock In)

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.eyJzdWIiOiIxNjI2Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjE5LCJleHAiOjE3NTU4NTgyMTksImp0aSI6ImFlOWY1NDMwLTRlZjItNDA2NS1hYjA0LWNiMmIzNmQ4MjE4NiJ9.RjBFl0XYgbKv7xfXnzMiS7GdcEz6lJkIrfp1WJn2TFM
Host: example.org
Cookie: 

Body

{
  "timesheet": {
    "job_id": 586
  }
}

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/"1b2c6aabf9d3b99ff464236b6169d007"
cache-control: max-age=0, private, must-revalidate
x-request-id: 143b7a51-17de-4048-b1c1-4d0faa8e07f7
x-runtime: 0.030643
content-length: 302

Body

{
  "timesheet": {
    "id": 190,
    "date": "2025-07-23",
    "job_title": "Future Liaison",
    "overtime_after": {
      "seconds": 0.0
    },
    "overtime_rate": "0.0",
    "payment_state": "pending",
    "rate": "55.8",
    "status": "in_progress",
    "timelog": {
      "id": 231,
      "amend_status": "original",
      "breaks": [

      ],
      "end_at": null,
      "start_at": "2025-07-23T10:23:39.734Z"
    }
  }
}