# Employment Hero integrations: employees

> Add an employee, create a leave request and create a timesheet entry in Employment Hero.

**Canonical page:** https://tray.ai/connectors/employment-hero-integrations/
**Categories:** Human resources
**Connects through:** HTTP Connector

## Overview

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.

## Use cases

### Employees

Read, create, update, and manage employees in Employment Hero from any Tray.ai workflow. The Employment Hero API covers calls such as list employees and get an employee.

- List employees
- Get an employee
- Add an employee

### Leave requests

Read, create, and update leave requests in Employment Hero from any Tray.ai workflow. The Employment Hero API covers calls such as list leave requests and create a leave request.

- List leave requests
- Create a leave request
- Approve a leave request

### Timesheet entries

Read, create, and update timesheet entries in Employment Hero from any Tray.ai workflow. The Employment Hero API covers calls such as list timesheet entries and create a timesheet entry.

- List timesheet entries
- Create a timesheet entry
- Update a timesheet entry

### Employment Hero events

Start a Tray.ai workflow the moment something happens in Employment Hero. Employment Hero sends events such as employee created and employee updated to a Tray.ai webhook trigger.

- Employee created
- Employee updated
- Employee onboarded

## Challenges Tray.ai solves

### Keeping Employment Hero credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store Employment Hero credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the Employment Hero API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the Employment Hero API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to Employment Hero?

Yes. Tray.ai connects to Employment Hero through the HTTP Connector, which calls the Employment Hero API directly. Any call the Employment Hero API documents can run as a step in a Tray.ai workflow. API access comes through Employment Hero's partner program or API plan, so you need approved credentials first.

### 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.

### Can I get a dedicated Employment Hero connector?

Employment Hero runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated Employment Hero connector from the Employment Hero API.

## Learn more

- Tray iPaaS: https://tray.ai/platform/ipaas/
- Tray Helix agents: https://tray.ai/helix/agents/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
