post https://api.bamboohr.com/api/gateway.php//v1/time_tracking/employees//clock_in
Clock in an employee.
Example Request
{
"projectId": 10,
"taskId": 24,
"note": "Working on project A."
}
Example Response
{
"id": 37,
"employeeId": 11718,
"type": "clock",
"date": "2023-06-23",
"start": "2023-06-23T17:20:00+00:00",
"end": null,
"timezone": "America/Halifax",
"hours": null,
"note": "Working on project A.",
"projectInfo": {
"project": {
"id": 10,
"name": "Project A"
},
"task": {
"id": 24,
"name": "Task 1"
}
}
}
Notes
Optional Body Parameters
projectId
is optional, unless ataskId
is specifiedtaskId
is optionalnote
is optional