---
title: Homebase API Integration on Truto
slug: homebase
category: HRIS
canonical: "https://truto.one/integrations/detail/homebase/"
---

# Homebase API Integration on Truto



**Category:** HRIS  
**Status:** Beta

## MCP-ready AI tools

Truto exposes 16 tools for Homebase that AI agents can call directly.

- **list_all_homebase_company** — Retrieve the company for the current account. Returns one record (the company and its owner); the connector uses it to check the key on connect.
- **list_all_homebase_deleted_shifts** — Retrieve the IDs of deleted shifts for a given location. Use it to remove shifts deleted since the last sync. Required: location_uuid, start_date, end_date. The connector pages through all results (Homebase's Link header; limit sets the page size, sent as per_page).
- **list_all_homebase_deleted_timecards** — Retrieve the IDs of deleted timecards for a given location. Use it to remove timecards deleted since the last sync. Required: location_uuid, start_date, end_date. The connector pages through all results (Homebase's Link header; limit sets the page size, sent as per_page).
- **get_single_homebase_employee_by_id** — Retrieve a single employee for a given location. Required: id, location_uuid.
- **list_all_homebase_employees** — Retrieve employees for a given location. Required: location_uuid. The connector pages through all results (Homebase's Link header; limit sets the page size, sent as per_page).
- **list_all_homebase_labor** — Retrieve aggregate labor for a given location, grouped by hour or by day. Returns one record: the location's labor totals for the date range. Required: location_uuid, start_date, end_date.
- **list_all_homebase_labor_by_employee** — Retrieve aggregate labor for a given location, grouped by employee. Required: location_uuid, start_date, end_date.
- **list_all_homebase_labor_by_role** — Retrieve aggregate labor for a given location, grouped by role. Required: location_uuid, start_date, end_date.
- **list_all_homebase_location_plans** — Retrieve plan for location. Returns one record: the location's Homebase plan. Required: location_uuid.
- **get_single_homebase_location_by_id** — Retrieve a given location for the current account. Required: id.
- **list_all_homebase_locations** — Retrieve locations for the current account.
- **get_single_homebase_shift_by_id** — Retrieve a single shift for a given location. Required: id, location_uuid.
- **list_all_homebase_shifts** — Retrieve shifts for a given location. Required: location_uuid, start_date, end_date. The connector pages through all results (Homebase's Link header; limit sets the page size, sent as per_page).
- **get_single_homebase_timecard_by_id** — Retrieve a single timecard for a given location. Required: id, location_uuid.
- **list_all_homebase_timecards** — Retrieve timecards for a given location. Known limitation: time off labor totals (paid time off, time off, sick time, unpaid time off and the FFCRA fields) are always zero on individual timecards; use labor_by_employee.list for employees' totals including time off. Required: location_uuid, start_date, end_date. The connector pages through all results (Homebase's Link header; limit sets the page size, sent as per_page).
- **list_all_homebase_timeclock_statuses** — Retrieve the current timeclock status for a given job. Returns one record for the job (an employee at a location; job ids come from employees.list, job.id). Required: job_id.

## How it works

1. **Link your customer's Homebase account.** Use Truto's frontend SDK; we handle every OAuth and API key flow so you don't need to create the OAuth app.
2. **Authentication is automatic.** Truto refreshes tokens, stores credentials securely, and injects them into every API request.
3. **Call Truto's API to reach Homebase.** The Proxy API is a 1-to-1 mapping of the Homebase API.
4. **Get a unified response format.** Every response uses a single shape, with cursor-based pagination and data in the `result` field.

## Use cases

- **Automate payroll runs with to-the-minute timecard data** — Payroll and EWA platforms can pull precise clock-in/out data, overtime, and PTO totals from Homebase so SMB customers never have to export timesheets manually. This closes the loop between hours worked and wages paid for hourly, shift-based teams.
- **Power labor analytics for franchise and multi-location BI** — Analytics SaaS can aggregate labor costs by hour, role, or employee across every Homebase location an operator runs, then combine that with POS or sales data to surface staffing efficiency metrics. It turns raw shift data into franchise-level insights without custom ETL.
- **Enable shift-filling and gig marketplaces for hourly teams** — Staffing and gig marketplaces can read published shifts, detect gaps, and reconcile completed work back to the operator's Homebase account. This lets healthcare, hospitality, and retail SaaS offer on-demand workers directly inside their product.
- **Gate access and workflows on real-time clock-in status** — Access control, POS, and operations SaaS can check whether an employee is actively clocked in at a specific location before unlocking a register, smart lock, or sensitive workflow. It ties digital permissions to the physical shift lifecycle.
- **Sync new hires and employee rosters from your HR or ATS product** — ATS and onboarding platforms can keep employee records, locations, and roles aligned with Homebase so new hires are schedulable the moment they're hired. This removes duplicate data entry for managers juggling multiple systems.

## What you can build

- **Timecard-to-payroll sync** — Ingest finalized timecards per pay period, filter out voided entries via deleted_timecards, and push ready-to-run payroll into your product.
- **Real-time clocked-in status checks** — Query timeclock_statuses to verify whether a given employee is actively on the clock at a specific location before granting access or triggering workflows.
- **Multi-location labor cost dashboards** — Pull labor, labor_by_role, and labor_by_employee across all of a customer's locations to render cost breakdowns by hour, day, or job function.
- **PTO and accrual-aware earned wage access** — Combine labor_by_employee (for accurate PTO, sick, and FFCRA totals) with timecards to calculate exact earnings available for on-demand withdrawal.
- **Incremental shift and timecard sync** — Use deleted_shifts and deleted_timecards alongside list endpoints to keep your mirror of a customer's schedule current without full re-polls.
- **Location plan gating** — Read location_plans at connection time to detect which Homebase tier each worksite runs on and conditionally enable features that require paid plans.

## FAQs

### How does Truto authenticate end users to Homebase?

Truto handles the Homebase auth flow for you and validates each connection automatically against the company endpoint, so you only ship the Truto connect UI and receive working credentials.

### Is pagination handled automatically?

Yes. Truto natively follows Homebase's Link header pagination on all list endpoints (employees, shifts, timecards, labor, locations), so you receive complete result sets without implementing cursor logic.

### Can I detect shifts or timecards that were deleted since my last sync?

Yes. Homebase exposes list_all_homebase_deleted_shifts and list_all_homebase_deleted_timecards, which let you cleanly remove voided records incrementally instead of diffing the entire dataset.

### How do I get accurate PTO, sick, and FFCRA totals?

Individual timecards return zero for time-off fields. To calculate paid time-off correctly, use list_all_homebase_labor_by_employee, which aggregates these values per employee over a date range.

### Can I check if an employee is currently clocked in?

Yes, list_all_homebase_timeclock_statuses returns live clock-in state and can be scoped to a specific employee or location, which is the standard pattern for access control and POS gating use cases.

### Does Homebase support writing data back (creating employees, shifts, or timecards)?

The currently available Homebase tools in Truto are read-only across companies, employees, locations, shifts, timecards, labor, and timeclock statuses. If you need write operations for your use case, Truto can scope and add them on request.

### How do I know which features a customer's location actually supports?

Use list_all_homebase_location_plans to check each location's Homebase subscription tier at connection time, then conditionally enable integration features that depend on paid-plan functionality.

## Related reading

- [Connect Homebase to Claude: Sync Timecards and Monitor Shift Data](https://truto.one/blog/connect-homebase-to-claude-sync-timecards-and-monitor-shift-data/) — Learn how to build a managed MCP server to connect Homebase to Claude. Automate timecard syncing, labor reporting, and shift management workflows securely.
- [Connect Homebase to ChatGPT: Manage Labor Costs and Staff Schedules](https://truto.one/blog/connect-homebase-to-chatgpt-manage-labor-costs-and-staff-schedules/) — Learn how to build a secure MCP server for Homebase, connect it to ChatGPT, and automate shift scheduling and labor cost analysis using natural language.
- [Connect Homebase to AI Agents: Automate Labor and Team Management](https://truto.one/blog/connect-homebase-to-ai-agents-automate-labor-and-team-management/) — Learn how to connect Homebase to AI agents using Truto's /tools endpoint. Build autonomous labor, scheduling, and team management workflows bypassing API quirks.
