Time Off
Public API
Create Time Off Category
Changed onCreates a time off category. Category names are unique among all of the company's categories, including disabled and deleted ones; a name collision returns a 409 that identifies the conflicting category so the caller can resolve it (for example by choosing a different name).
OAuth Scopes: time_off:categories.write
post/api/v1/time-off/categories
Request
- Base URLhttps://companySubDomain.bamboohr.com
- Auth
- HTTP basic
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopestime_off:categories.write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "Volunteer Time",
"unit": "HOURS",
"color": "4AADA4",
"icon": "palm-trees",
"paid": true
}Response
The created time off category.
Example response
{
"id": 1,
"name": "Vacation",
"unit": "DAYS",
"color": "00FFAA",
"icon": "calendar-light",
"paid": true,
"includeInPayroll": true,
"enabled": true,
"createdAt": "2026-01-01T06:00:00Z",
"updatedAt": "2026-01-01T06:00:00Z",
"deletedAt": "2026-01-01T06:00:00Z"
}Changes
- info
endpoint added
- info