---
title: "How Do BambooHR API Keys and Rate Limits Work?"
description: "BambooHR API access depends on your plan and pricing isn't published. Check what your subscription includes before building anything."
url: https://www.activepieces.com/blog/how-do-bamboohr-api-keys-and-rate-limits-work
updated: 2026-11-24
---

> Every page on www.activepieces.com is available as markdown: add `.md` to the URL. Site index: https://www.activepieces.com/llms.txt

# How Do BambooHR API Keys and Rate Limits Work?

By Aisha Okoye · November 24, 2026 · 14 min read · Filed under [Automation tutorials](https://www.activepieces.com/blog/category/automation-tutorials)

**Summary**

BambooHR API keys are shown once and must be copied immediately, per-tier rate limits aren't published, and the API returns 429 or 503 when throttled.

- API key shown once; copy immediately into your secrets store.
- Who's-out endpoint returns 100 records per page; hour entries only 50.
- BambooHR publishes no per-tier rate limit; expect 429 and 503 codes.

Confirm your plan and any per-call price with BambooHR before you build, because **access depends on the plan** and the price is unpublished.

The BambooHR API's a REST interface to your HR data: employees, time off, reports and files, which you can reach from code or from an automation tool like [Activepieces](https://www.activepieces.com).

Someone on your team generated an API key last spring, the integration has run quietly since, and nobody remembers whose account it belongs to. That's the usual way this API goes wrong, and it starts with how the key's defined.

![A list of API keys on a BambooHR API Keys page, with one older key row highlighted and no name beside it, next to a small…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/16cde47b-6220-40b2-ace4-15f6b5e05be6/how-do-bamboohr-api-keys-and-rate-limits-work-il-6da151d6.webp)

## Get BambooHR API access and plans

### What the BambooHR API is

It's an HTTPS API that reads and writes the same records your HR team sees in the web app. You authenticate with an API key, or with an OAuth app if you're building for several customers.

### Which plan includes API access and what it costs

You can't assume API access on every tier. BambooHR sells tiers, and the pricing page is the only source for which one includes it, and it changes. Per-employee pricing depends on headcount and is quoted by plan.

If you're wondering about metered billing, assume nothing: BambooHR doesn't publish a per-call price, so ask your account rep.

I'm not printing a plan-by-plan table here: I can't confirm every cell against the pricing page, and a half-filled one would mislead you. Check [BambooHR pricing](https://www.bamboohr.com/pricing/) directly.

Roughly, the [developer documentation](https://documentation.bamboohr.com) groups endpoints like this:

- Employees, including directory and individual records
- Tabular data, such as job history and compensation rows
- Time off, covering requests, balances, policies and who is out
- Reports, both custom and standard
- Employee and company files
- Applicant tracking
- Webhooks for change notifications
- Metadata, such as fields, lists and users

Treat the docs as the source of truth, because families can differ by plan and change over time.

## Authentication with an API key or OAuth app

For an integration against your own company's BambooHR account, use an API key sent as the Basic Auth username. Build an OAuth app only when other companies' accounts will connect to your code.

You need four steps to get a usable credential, and the order matters because **the key's shown once**:

1. Sign in as the person who'll own the key and open the API Keys page from your profile menu, then choose to add a new key.
2. Name the key after the job it does, such as "payroll-sync", so that someone auditing the list a year from now knows what breaks if they delete it.
3. Copy the key immediately into your secrets store. Treat the copy as the only one you'll get, and generate a fresh key if you lose it.
4. Read the subdomain from your login URL: if you sign in at `acme.bamboohr.com`, your subdomain's `acme`. Every API path carries it, so a wrong value fails before authentication even matters.

![A BambooHR API Keys page with an add-new-key button and a key entry named for its job, 'payroll-sync', in a list of keys.](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/eed05b89-d3fe-4134-9efe-b27e7ee86b89/how-do-bamboohr-api-keys-and-rate-limits-work-il-67a46c47.webp)

### Send your first authenticated BambooHR API request

Put the key in as the Basic Auth username. The docs let you put any string in the password field, so a placeholder works. Ask for JSON, because the API can return XML otherwise:

```bash
curl -u "YOUR_API_KEY:x" \
 -H "Accept: application/json" \
 "https://api.bamboohr.com/api/gateway.php/acme/v1/employees/directory"
```

If you get a directory of employees back, the key, the subdomain and the plan are all working. An authentication error usually means a mistyped key or subdomain, and a permission error means the owner can't see that data.

### Stage 3: When to use an OAuth app instead of a key

If you're building a product that many BambooHR customers will install, you shouldn't ask each of them to paste a key into your settings page, because a key belongs to one company's account.

With an OAuth app, each customer approves access with their own login and revokes it themselves. For a script that only touches your own employee data, a key's less work to run.

![A workflow execution interface showing a completed two-step Square OAuth token revocation flow with HTTP configuration](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/ab58d76a-e150-4da2-b368-e9390d90658a/how-to-evaluate-telemetry-dev-llm-observability-bc2ee918.webp)

### Which user should own the key

Don't mistake a key for a service account: it acts as the user who created it and sees only what that user can see.

If an HR admin generates it, every report and field they can open's open to your script. If that person leaves or loses access, the integration quietly returns less data or stops.

> Don't mistake a key for a service account: it acts as the user who created it and sees only what that user can see.

**Create the key under a dedicated user whose permissions match the job, and keep that account active.**

## BambooHR time off endpoints with working requests

For time off, **six endpoints do the work**. Each answers according to the permissions of the user who owns your key, so the same call can succeed for one key and return nothing for another.

The table shows the method, path and required inputs for each; dates are always `YYYY-MM-DD`.

| Method | Path | Purpose | Required parameters | Permission |
|---|---|---|---|---|
| GET | `/time_off/whos_out/` | Who is away | `start`, `end` optional | Visibility of the people listed |
| GET | `/time_off/requests/` | Requests in a range | `start`, `end` | Time off access to those employees |
| GET | `/meta/time_off/types/` and `/policies/` | Types and policies | none | Any API user |
| GET | `/employees/{id}/time_off/calculator/` | Balance estimate | `end` | Access to that employee |
| PUT | `/employees/{id}/time_off/request/` | Create request | `status`, `start`, `end`, `timeOffTypeId`, `amount` | Permission to submit for that employee |
| PUT | `/time_off/requests/{id}/status` | Change status | `status` | Approver rights |

![A table of six time off endpoint rows, with GET method cells, paths such as whos_out and requests, and a column for…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/01f85a35-631e-4fc5-ad6a-027eacf197bd/how-do-bamboohr-api-keys-and-rate-limits-work-il-184a150b.webp)

Paths sit under `https://api.bamboohr.com/api/gateway.php/{companyDomain}/v1`. Every call below sends your key as the basic-auth username with any password, plus `Accept: application/json`.

```
curl -u "API_KEY:x" -H "Accept: application/json" \
 "…/v1/time_off/whos_out/?start=2026-11-23&end=2026-11-29"
```

In a large company's busy week, the response can spill past the first page, since the [BambooHR documentation](https://documentation.bamboohr.com/reference/list-reports) sets who's out at **100 records per page**, which means users checking availability must navigate beyond the first screen.

Check for more before you tell a manager nobody else is away.

```
curl -u "API_KEY:x" -H "Accept: application/json" \
 "…/v1/time_off/requests/?start=2026-11-01&end=2026-11-30&status=requested"
```

Send both dates, since both're required. Filtering by `status` keeps the response to what needs a decision.

Reports return 500 records per page, per the [same documentation](https://documentation.bamboohr.com/reference/list-reports), while hour entries return only 50, so accessing hour entries requires ten times as many pages as equivalent reports. A sync loop sized for reports will miss rows if you reuse it unchanged for hours.

![Page size limits differ widely across BambooHR endpoints](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/12f4fad4-47f6-4a3a-8a3d-b7ed7b3a970b/how-do-bamboohr-api-keys-and-rate-limits-work-pi-8ee10845.svg "Source: BambooHR documentation")

```
curl -X PUT -u "API_KEY:x" -H "Content-Type: application/json" \
 -d '{"status":"requested","start":"2026-12-22","end":"2026-12-24","timeOffTypeId":"1","amount":3}' \
 "…/v1/employees/123/time_off/request/"
```

Take `timeOffTypeId` from the types endpoint, because type IDs differ between companies. To decide the request, PUT `{"status":"approved"}` to `/time_off/requests/{id}/status`. Denied and canceled are the other values.

```
curl -u "API_KEY:x" -H "Accept: application/json" \
 "…/v1/employees/123/time_off/calculator/?end=2026-12-31"
```

Pass the last day of the requested leave, not today, because the result's an estimate as of the `end` date. Otherwise you approve against a balance that ignores accruals or deductions between now and then.

## Understand BambooHR API rate limits and errors

**BambooHR publishes no per-tier request limit**, so your real ceiling's whatever the API tells you when it pushes back.

Per-tier limits aren't published, which means a number from a forum post's a guess. Design for the signal: when you get a 429 or 503, slow down and read the `Retry-After` header if it's present.

### BambooHR API pagination and page sizes by endpoint

On one endpoint a loop works; on another it silently truncates. [BambooHR](https://documentation.bamboohr.com/reference/list-reports) lists 1,000 records per page for reports, so a mid-sized company fits in one or two calls.

For a month of timesheets on a large team, you'll need several calls, because hour entries return [200 per page](https://documentation.bamboohr.com/reference/list-reports), and stopping after the first undercounts hours.

Because who's out returns [100 per page](https://documentation.bamboohr.com/reference/list-reports), a busy holiday week can overflow one call and show fewer absences than exist. Paginate every list endpoint, whatever its size today.

Only 429 and 503 carry a retry hint, so the first four are bugs to fix, not conditions to wait out. The table shows what each status means and what to do about it.

| Status | Documented cause | Fix | Retry-After sent |
|---|---|---|---|
| 400 | Malformed request or bad parameters | Check the body, field names and date formats | None |
| 401 | Missing or invalid API key | Regenerate the key and re-check how you send it | None |
| 403 | The key's user lacks permission, or the plan lacks that feature | Check the user's access level and your plan | None |
| 404 | Resource, employee ID or company subdomain not found | Verify the ID and the subdomain in the URL | Not documented |
| 429 | Too many requests (limit unpublished per tier) | Back off and retry | Yes |
| 503 | Service unavailable or throttled | Wait, then retry | Yes |

**Retrying a 403 will never help**, because it's a permissions answer and not a capacity one.

Wait for the `Retry-After` value when it arrives, and use exponential backoff with jitter when it doesn't.

Cache slow-changing data such as the employee directory, and refresh it on a schedule instead of per request. Use webhooks where your plan includes them, so changes reach you without polling.

If you'd rather skip hand-written HTTP calls, Activepieces has a BambooHR integration, and when a call you need isn't in it, you can generate the missing integration with AI and add it privately to your own instance, with no vendor release to wait on.

The catalogue is 750 integrations, counted directly from the `packages/pieces/community` directory of the open-source monorepo, and roughly 60% of them are community-contributed, meaning most of the integrations users access are maintained outside the core development team. MoneyGram, Moneypenny, Alan and FundingSocieties run it in production.

## Call BambooHR time off endpoints without code in Activepieces

If you'd rather not host a script just to poll BambooHR, Activepieces can do it. The flow's a schedule trigger, the BambooHR integration or an HTTP step carrying the same API key, and a Slack or email step at the end.

Your plan may not have webhooks, so a scheduled flow's the polling fallback, and running it once a day keeps the load on your throttling budget small.

### Generate and secure your API key

Create the connection once and reuse it. You need your company subdomain and an API key. Generate the key under a dedicated user whose permissions you've deliberately limited.

Under an HR admin's login, a key carries the admin's reach into every flow that uses it, because the key inherits that user's access. If that person leaves, the connection breaks with them.

![Signing Keys management page in Activepieces showing a table with one secret key and a New Signing Key button.](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/016ee685-507b-49a7-91c2-f041c8189e41/activepieces-vs-windmill-pricing-and-features-20-c13af596.webp)

For an HTTP step, BambooHR expects the key as the basic-auth username, with any string as the password. Send an `Accept: application/json` header or you'll get XML back.

### Build a daily who's-out workflow

Start with a schedule trigger set to early morning in your own time zone. Add a BambooHR action, or an HTTP GET to the `time_off/whos_out` endpoint under your company's gateway URL, with `start` and `end` set to today.

Each returned entry carries the employee name, the start and end dates, and the type of leave. Then add a Slack message or email step that lists them.

### What the builder looks like

A trigger, a few steps, and a Router splitting into branches that each end in a Slack "Send Message": that's the builder's shape in the screenshot. A side panel holds the Connection field.

![Activepieces workflow builder showing a HubSpot-to-Slack automation with AI processing and conditional routing.](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/13e1d21f-71df-40f4-b247-19e2decaae9f/crowdstrike-pricing-2026-falcon-go-pro-enterpris-ffca9750.webp)

That layout's a HubSpot ticket flow, not a BambooHR one, but yours uses the same integrations.

The trigger and connection're configured on the right, and Test Flow runs it before you press Publish.

### Add a Router for quiet days

After that comes a Router, if you want one. Route by leave type, or send an empty-day result to a different channel so a quiet Monday doesn't read as a broken flow.

Check the integration's action list in the builder before you commit. If the time off call you need isn't there, the HTTP step reaches the same endpoint.

### When to use code for BambooHR API calls

Choose code when you need to page through large result sets, back off and retry on throttling responses, or compare time off requests against your own database.

A flow gives you a visible run history, which's worth a lot at 2am. It gives you less control over retry timing than a script you own.

## Frequently asked questions

### Is the BambooHR API free to use?

Whether your account can use the API depends on your plan, though BambooHR doesn't publish a separate per-call charge. Confirm API access with your account representative before you budget a project around it.

Check the [BambooHR API documentation](https://documentation.bamboohr.com/) for the current terms, because a script that quietly depends on a feature your plan lacks will fail the day someone renegotiates the contract.

### Can I use the BambooHR API with a trial account?

Possibly, but don't assume a trial behaves like your production account. Trials can have different features enabled and different data, so a script that passes there may hit access errors once it meets real employee records.

Ask BambooHR what your trial includes, and treat a first run against the production account as a new test.

### Does BambooHR support webhooks for time off changes?

Yes, BambooHR has webhooks, but they're built around employee record changes, and the documentation's the place to check which events they cover.

For time off, the dependable pattern's to poll the time off requests endpoint, filtering by date range and status, and compare the results with what you stored last time.

Polling on a schedule also lets you control your own request pace, which matters once throttling signals start appearing. The [webhooks documentation](https://documentation.bamboohr.com/) lists the supported events.

### Why does my API key return 403 on some employees?

Your key acts with the permissions of the person who generated it, so a 403 usually means that person can't see those employees or fields.

This is the service-account trap from earlier in the article: the key looks like a neutral credential, but it's really one user's access level.

Under a manager-level user, the key works for their reports and fails everywhere else.

Regenerate the key from a user whose access level covers the data you need, and use a dedicated user for it so the key doesn't break when a person leaves or changes role. Permissions are described in the [API documentation](https://documentation.bamboohr.com/).

### Does the BambooHR API have an official SDK?

Check the [documentation](https://documentation.bamboohr.com/) for the current list, because I won't claim a supported library for your language that may not exist.

Writing a small wrapper of your own that handles authentication, retries and response parsing's a reasonable choice, since the API's plain HTTP with JSON or XML responses. That wrapper's also where your throttling and time off handling should live.

## Related reading

- [Trello API: Keys, Tokens, Rate Limits and Webhooks](https://www.activepieces.com/blog/trello-api-keys-tokens-rate-limits-and-webhooks)
- [Klaviyo API: Keys, Scopes, Rate Limits (2026 Guide)](https://www.activepieces.com/blog/klaviyo-api-keys-scopes-rate-limits-2026-guide)
- [Ashby API: Keys, Rate Limits, and Errors (2026 Guide)](https://www.activepieces.com/blog/ashby-api-keys-rate-limits-and-errors-2026-guide)

## References

- [BambooHR](https://documentation.bamboohr.com/reference/list-reports)
