The Hubstaff V2 API lets your development team programmatically read and write data. This allows you to build custom workflows and display Hubstaff information exactly how you need.
For example, you could build a separate, fully branded client portal with the Hubstaff API. From there, clients can log in to view filtered activities, tasks, and notes.
The API helps provide high-quality developer tools to:
- Present Hubstaff with your branding and customize the experience
- Connect data across multiple tools to uncover correlations
- Display data to your clients based on your preference
When a tool isn’t among Hubstaff’s 35+ native integrations, the API lets you build custom integrations instead.
To help your dev team draw inspiration from these custom workflows designed using the Hubstaff API, here are some use cases of syncing your internal data with the Hubstaff platform:
1. Sync time log data to internal dashboards
Use the Hubstaff API to connect workforce data to your custom internal dashboards, alongside data from existing tools your team already works with. For instance, you could combine today's tracked time with the current tracking status from Hubstaff and availability data from Slack or a calling tool. Then managers can see key information from multiple systems on a single dashboard without switching between tools.
2. Automating reports
Use the Hubstaff API to automate the delivery of weekly time and activity reports directly to your clients’ inboxes. This will inform clients on time, activity, and productivity updates across teams without manual effort.
You can build the report from the Daily Activities endpoint, which is pre-aggregated in your organization’s timezone. This lines up with the Time & Activity report, so the totals your clients receive match what your managers see in Hubstaff.
3. Attendance alerts
Utilize Hubstaff webhooks for real-time event notifications and send updates to your internal systems via HTTP callbacks. For example, you can keep an attendance or availability dashboard up to date as relevant Hubstaff events take place. This reduces the need to repeatedly perform API calls and ensures that whenever an event trigger happens, your dashboard is updated.
4. Custom workflow for time entry approval
Build a custom time entry approval workflow by pulling tracked time from the Hubstaff API’s Activities endpoints, rebuilding it into time entries, and running those entries through your custom business logic (e.g., time duration >15 mins, project validation, manual approval for weekend hours). Learn how Hubstaff lets you handle manual time approvals.
5. Payroll sync
Push approved, payroll-ready timesheets and pay rates from Hubstaff into your payroll system, so payroll runs off the same approved time. When time is edited after a sync, the Daily Activity Updates endpoint flags every record that changed since your last pull. Your integration re-sends only those records to keep payroll accurate. You can connect Hubstaff with several popular payroll integrations.
6. Provisioning and PTO sync with your HRIS
Keep members, roles, schedules, and PTO in sync with your HRIS, so a new hire, a role change, or an approved leave request automatically appears in Hubstaff. You can create and update members through the API, saving a lot of time for teams with hundreds or thousands of people. One customer runs more than 80,000 employees on Hubstaff’s public API.
7. Client billing and project budgets
Sync clients, invoices, and project budgets with your accounting system or client portal, so budgets and invoices reflect the hours tracked by your team. A client portal built on the API can show clients the same figures that appear on their invoice, and your finance team can see budget use as time is logged.