Connectors / Human resources · HTTP Connector
Employment Hero integration and API
Add an employee, create a leave request and create a timesheet entry in Employment Hero.
What can you do with Employment Hero on Tray.ai?
Employment Hero is an HR and payroll platform used in Australia, New Zealand, the UK and Asia for employee records, onboarding, leave, timesheets and performance. Tray.ai connects to Employment Hero through the HTTP Connector, so your workflows can call the Employment Hero API alongside the rest of your stack. API access comes through Employment Hero's partner program or API plan, so you need approved credentials first.
- When Employment Hero sends “Employee onboarded”, create accounts for the new hire in your identity system.
- Add the time off to your team calendar when Employment Hero sends “Leave request approved”.
- Add an employee whenever a candidate is marked hired in your recruiting system.
- When Employment Hero sends “Pay detail updated”, let the payroll team know in your team chat.
- Connects through
- HTTP Connector
- Authentication
- OAuth 2.0
- Base URL
- https://api.employmenthero.com/api/v1
Set it up
Connect Employment Hero to Tray.ai
Each step uses Employment Hero's own API details, from its documentation.
Sign in to Employment Hero with OAuth 2.0
Ask Employment Hero for API access. Once it's approved, set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Employment Hero. Sign in once and every step reads the token from there.
Point the HTTP Client at the API
Add an HTTP Client step and use https://api.employmenthero.com/api/v1 as the base URL. Or paste a cURL example from Employment Hero's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “List employees”
It's one of 13 documented actions, under Employees. The response comes back as data the next step can map into your other apps.
Start workflows from Employment Hero events
Give Employment Hero the URL of a Tray.ai webhook trigger. “Employee created” can then start a workflow, and so can 5 other events.
Workflows to build with Employment Hero
Connect Employment Hero with Slack, Okta and Greenhouse
Each one uses actions and events from Employment Hero's own API documentation.
Post approved Employment Hero leave to Slack
When
Leave request approved
Then
- List leave requests
- Post who is away to the team channel in Slack
With Slack
Create Okta accounts for new Employment Hero employees
When
Employee created
Then
- Get an employee
- Create a user in Okta and assign default apps
With Okta
Add Greenhouse hires to Employment Hero
When
A candidate is hired in Greenhouse
Then
- Add an employee
- Post the new starter to the people team channel in Slack
With Greenhouse and Slack
Apps you can build on Employment Hero data
Internal tools your team can build with an AI assistant, each one using Employment Hero calls from its API documentation.
Leave approval board
Lists pending leave requests by employee and lets managers approve or decline each one.
Timesheet approval queue
Lists timesheet entries and lets managers correct and approve them.
Give your AI agents Employment Hero tools
Build an MCP server on Employment Hero in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works
- List employees
- List leave requests
- List timesheet entries
- Get an employee
- Add an employee
- Update employment details
- Offboard an employee
- Create a leave request
What the Employment Hero API covers
3 resources and 13 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Employment Hero gives API access on request, so approved credentials come first. Connecting it takes a few clicks: here's how.
Employees
- List employees
- Get an employee
- Add an employee
- Update employment details
- Offboard an employee
Leave requests
- List leave requests
- Create a leave request
- Approve a leave request
- Decline a leave request
Timesheet entries
- List timesheet entries
- Create a timesheet entry
- Update a timesheet entry
- Approve a timesheet entry
Events Employment Hero can send to a Tray.ai webhook trigger
- Employee created
- Employee updated
- Employee onboarded
- Leave request approved
- Timesheet entry created
- Pay detail updated
Checked against Employment Hero's own documentation on 2026-10-22
How Tray.ai makes this work
Employment Hero plugs into the whole Tray.ai platform
Tray iPaaS
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn moreTray Helix agents
Agents in the apps your teams run on Tray Helix that read, write, and act in Employment Hero, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose Employment Hero actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on Employment Hero data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore human resources apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every human resources connector →
Frequently asked questions
What can a Tray.ai workflow do in Employment Hero?
The Employment Hero API documents 13 actions across 3 resources (Employees, Leave requests, Timesheet entries). For example: List employees; List leave requests; List timesheet entries. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Employment Hero?
The Employment Hero API uses OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which Employment Hero events can start a Tray.ai workflow?
Employment Hero sends 6 events to a webhook URL, for example: Employee created; Employee updated; Employee onboarded; Leave request approved; Timesheet entry created; Pay detail updated. A Tray.ai webhook trigger receives them and starts a workflow.
Do I need special access to the Employment Hero API?
Yes. Employment Hero gives API access on request, so you need approved credentials before a Tray.ai workflow can call it.
See Employment Hero working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks. Someone from our team will be in touch soon.