bamboohr_list_timeoff
Pack: bamboohr · Endpoint: https://gateway.pipeworx.io/bamboohr/mcp
Search time-off requests by date range (e.g., “2024-01-01” to “2024-12-31”). Returns approved/pending requests with employee names and absence types.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_apiKey | string | yes | BambooHR API key |
_subdomain | string | yes | BambooHR subdomain |
start | string | yes | Start date (YYYY-MM-DD) |
end | string | yes | End date (YYYY-MM-DD) |
Example call
Arguments
{
"_apiKey": "your-bamboohr-api-key",
"_subdomain": "mycompany",
"start": "2024-01-01",
"end": "2024-12-31"
}
curl
curl -X POST https://gateway.pipeworx.io/bamboohr/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bamboohr_list_timeoff","arguments":{"_apiKey":"your-bamboohr-api-key","_subdomain":"mycompany","start":"2024-01-01","end":"2024-12-31"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('bamboohr_list_timeoff', {
"_apiKey": "your-bamboohr-api-key",
"_subdomain": "mycompany",
"start": "2024-01-01",
"end": "2024-12-31"
});
Response shape
| Field | Type | Description |
|---|---|---|
timeOffRequests | array | Approved time-off requests in date range |
Full JSON Schema
{
"type": "object",
"properties": {
"timeOffRequests": {
"type": "array",
"description": "Approved time-off requests in date range",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Request ID"
},
"employeeId": {
"type": "string",
"description": "Employee ID"
},
"employeeName": {
"type": "string",
"description": "Employee full name"
},
"absenceType": {
"type": "string",
"description": "Type of absence (e.g., vacation, sick leave)"
},
"startDate": {
"type": "string",
"description": "Start date of time off (YYYY-MM-DD)"
},
"endDate": {
"type": "string",
"description": "End date of time off (YYYY-MM-DD)"
},
"status": {
"type": "string",
"description": "Request status"
}
}
}
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"bamboohr": {
"url": "https://gateway.pipeworx.io/bamboohr/mcp"
}
}
}
See Getting Started for client-specific install steps.