Time Tracking
Public API
Create Time Tracking Import
Changed onCreates a time tracking import from an uploaded CSV. The file is parsed, every row is validated and auto-corrected, and the import is returned in DRAFT so the rows can be reviewed before it is executed.
OAuth Scopes: time_tracking:imports.write
post/api/v1/time-tracking/imports
Request
- Base URLhttps://companySubDomain.bamboohr.com
- Auth
- HTTP basic
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopestime_tracking:imports.write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Example request
{
"columnMapping": "{\"employeeNumber\":0,\"dateWorked\":1,\"payRate\":2,\"rateType\":3,\"hoursWorked\":4}"
}Response
The import was created.
Example response
{
"id": 77,
"status": "DRAFT",
"fileSize": 721,
"rowCount": 25,
"errorRowCount": 3,
"columnMapping": {
"employeeNumber": 0,
"dateWorked": 1,
"payRate": 2,
"rateType": 3,
"hoursWorked": 4
},
"createdAt": "2026-05-12T22:13:26Z"
}Changes
- info
endpoint added
- info