get https://api.bamboohr.com/api/gateway.php//v1/time_tracking/timesheet_entries
Get all timesheet entries for a given period of time.
BETA API
The Time Tracking API is currently in public beta. We invite developers who are willing to review, test, and provide feedback to use these endpoints and help us stabilize and move them out of beta.
By using these endpoints, developers understand that the Time Tracking API is subject to change at any time and may cause breaking changes to any integration or application using these endpoints. There may be bugs in how the API performs or inaccuracies in the documentation.
Feedback for this BETA API is appreciated and should be submitted here.
Example Response
[
{
"id": 7,
"employeeId": 40344,
"type": "clock",
"date": "2023-01-01",
"start": "2023-01-01T16:00:00+00:00",
"end": "2023-01-02T00:00:00+00:00",
"timezone": "America/Vancouver",
"hours": 8,
"note": "Note details appear here.",
"projectInfo": {
"project": {
"id": 1,
"name": "Project 1"
},
"task": {
"id": 1,
"name": "Task 1"
}
},
"approvedAt": "2023-01-14T12:00:00+00:00",
"approved": true
},
{
"id": 34,
"employeeId": 40341,
"type": "hour",
"date": "2023-01-13",
"start": null,
"end": null,
"timezone": null,
"hours": 8,
"note": null,
"projectInfo": null,
"approvedAt": null,
"approved": false
},
]
Notes
- Timesheet entry data is limited to the last 365 days.
- The user associated with the API key must have permission to view timesheets for the requested employees.