> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# BambooHR employees

> Publish a bounded BambooHR employee roster at a protected label.

Use a [protected REST mount](https://docs.bijection.com/integrations/native-rest.md#protected-saas-mounts).
Bind `providerEndpoint` to `https://<company>.bamboohr.com` and
`/api/v1/employees`. Seal a current bearer token or use Basic header auth
with the Base64 encoding of `apiKey:x`. Restrict the credential to the
required employee roster permissions.

Initialize with `{ mode: "provider", provider: "bamboohr.employees.observations", limit: 25 }`.
The app lands `employeeId`, `firstName`, `lastName`, `preferredName`,
`jobTitleName` and `status`, keyed by `employeeId`. It walks BambooHR's
`meta.page.nextCursor` in employee ID order. A terminal page restarts the
next sweep. Missing employees stay published.

[BambooHR List Employees](https://documentation.bamboohr.com/reference/list-employees)

## Employee details and time off

Use one protected mount per mode and keep the same Basic or bearer
credential contract. Both modes land bounded observations and have
no retained cursor. Omitted records stay published.

| Mode | Fixed path and terms | Fields |
| - | - | - |
| `bamboohr.employee.by-id` | `/api/v1/employees/<employeeId>`, with `limit: 1` | `id`, `employeeNumber`, `firstName`, `lastName`, `preferredName`, `workEmail`, `jobTitle`, `department`, `division`, `location`, `supervisor`, `hireDate`, `employmentStatus`, `status`, keyed by `id`. BambooHR can omit fields due to permissions. |
| `bamboohr.time-off.requests` | `/api/v1/time_off/requests` with inclusive YYYY-MM-DD `start` and `end` spanning at most 31 days | `id`, `employeeId`, `start`, `end`, `created`, `updated`, `status`, `timeOffTypeId`, `timeOffTypeName`, `amount`, `unit`, keyed by request `id`. |

The entire answer must fit in 36 KiB and the configured limit of
1–100 rows. Time off spans overlapping the date window are returned
without notes. The credential's permissions determine which employees
and requests it can see.

## Request time off

Use `providerWriter` with `bamboohr.time-off.create`, the protected label,
your BambooHR origin, the sealed Basic or bearer credential and
`scope: ["<employeeId>"]`. Bind `receivers.writers[mode]`. Send a create
command containing `start`, `end`, `timeOffTypeId` and a positive
`amount`. The app sets `status: "requested"` and retains only the HTTP
status and request `id` returned by a 201. The app uses the mount's
exact command key, dispatches once and keeps no read cursor.

[Employee details](https://documentation.bamboohr.com/reference/get-employee) ·
[Time off reads](https://documentation.bamboohr.com/reference/list-time-off-requests) ·
[Time off writes](https://documentation.bamboohr.com/reference/create-time-off-request)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.