Read employee time-off requests and current PTO balances from a linked HRIS account via Merge's unified Time Off and Time Off Balances endpoints.
domain: docs.merge.dev · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Authenticate every request with two headers: Authorization: Bearer <API_KEY> (your Merge account-level key) and X-Account-Token: <account_token> identifying the specific end user's linked HRIS integration.
Call GET /api/hris/v1/time-off to list TimeOff records (status, amount, employee reference, start/end dates) for the linked account.
Call GET /api/hris/v1/time-off/{id} for a single request, using the expand parameter to inline related objects like the requesting employee.
Call GET /api/hris/v1/time-off-balances to list TimeOffBalance records — current PTO/sick balances per employee and policy type.
Add include_remote_data=true when you need the original unmapped payload from the underlying HRIS alongside Merge's normalized fields, and show_enum_origins to see a provider's raw enum values instead of Merge's normalized ones.
Check the integration's Supported Fields/Supported Features pages (or the /linked-accounts response) before relying on balance data, since coverage varies by which HRIS the end user connected.
Known gotchas
Time Off Balances support is not universal across Merge's HRIS integrations — some connected providers return sparse or no balance data, so verify supported-features for that specific integration first.
Both headers (Authorization API key and X-Account-Token) are required on every call; the API key alone is not scoped to any single employee's data.
Data is synced asynchronously after Merge Link — a newly linked account or a just-submitted time-off request may not appear immediately, so don't assume real-time consistency without checking sync status.
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?