Employment Hero
Employment Hero is an all-in-one HR, payroll, and people management platform designed to simplify the entire employee lifecycle. It provides tools for hiring and onboarding, HR and compliance management, payroll processing, leave and time-off management, timesheets, certifications, and employee engagement—all in a single unified platform. Organisations across Australia, New Zealand, the UK, Malaysia, and Singapore use Employment Hero to automate HR workflows, reduce administrative overhead, and ensure workforce data is always accurate and up to date. The Employment Hero REST API allows external systems to securely access and exchange HR data, enabling integrations with business intelligence tools, data warehouses, and other enterprise applications.

Power end-to-end data operations for your Employment Hero API with Nexla. Our bi-directional Employment Hero connector is purpose-built for Employment Hero, making it simple to ingest data, sync it across systems, and deliver it anywhere — all with no coding required. Nexla turns API-sourced data into ready-to-use, reusable data products and makes it easy to send data to Employment Hero or any other destination. With comprehensive monitoring, lineage tracking, and access controls, Nexla keeps your Employment Hero workflows fast, secure, and fully governed.
Features
Type: API
- Seamless API Integration: Connect to any endpoint as source or destination without coding, with automatic data product creation
- Visual Composition & Chaining: Build complex integrations using visual templates, chain API calls, and compose workflows with data validation and filtering
- API Proxy: Expose curated slices of your data securely with a secure and customizable API proxy that validates and transforms data on the fly
- Request optimization with intelligent batching, retry, and caching to minimize API calls and costs
Prerequisites
The Employment Hero API uses OAuth 2.0 to authenticate external integrations. Before creating a credential in Nexla, you must register an application in the Employment Hero Developer Portal to obtain your Client ID and Client Secret.
Subscription Requirements
API access is available on Platinum subscriptions and above. Organisations on Lite or Standard Plus plans will not have access to the Developer Portal or API credentials.
Register an Application in the Employment Hero Developer Portal
-
Log in to your Employment Hero HR platform.
-
Click your Profile Name in the top right-hand corner of the screen.
-
Select Developer Portal from the dropdown menu.
-
In the Developer Portal, click the Add Application button to register a new application.
-
Enter the following details for your application:
- Application Name: Enter a descriptive name (e.g.,
Nexla Integration). - Redirect URI: Enter the OAuth callback URL for Nexla. Refer to your Nexla instance configuration for the correct callback URL.
- Scopes: Select the data scopes your integration requires. Common scopes include
urn:mainapp:organisations:readandurn:mainapp:employees:read. Grant only the scopes needed for your specific use case.
- Application Name: Enter a descriptive name (e.g.,
-
Click Save to create the application.
-
On the application details page, locate and copy both the Client ID and Client Secret values. Store these values securely — you will need them when configuring the Nexla credential.
The Client Secret is shown only once after application creation. Copy and store it in a secure location before leaving the page. Additional details about the Developer Portal are available in the Employment Hero API documentation.
All configured OAuth 2.0 scopes for your application are visible in the Developer Portal. Ensure the scopes granted match the data your integration needs to access. Overly broad scopes increase security risk.
Authenticate
Credentials required
Authenticate using OAuth 2.0 Authorization Code flow with your Employment Hero application's Client ID and Client Secret.
| Field | Required | Secret | Description |
|---|---|---|---|
| Client ID | Yes | No | The Client ID from your Employment Hero Developer Portal application registration. |
| Client Secret | Yes | Yes | The Client Secret from your Employment Hero Developer Portal application registration. Keep this value secure. |
Create a credential in Nexla
-
After selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
-
Enter the Client ID from your Employment Hero Developer Portal application in the Client ID field. This value identifies your registered application to the Employment Hero authorization server.
-
Enter the Client Secret from your Employment Hero Developer Portal application in the Client Secret field. This value is used to securely authenticate your application when requesting tokens. Treat the Client Secret as a password — do not share it or expose it in plaintext.
Employment Hero uses the OAuth 2.0 Authorization Code flow to authenticate API integrations, allowing Nexla to securely request access on behalf of your organisation using the Client ID and Client Secret from your registered Developer Portal application. Access tokens issued by Employment Hero expire after 15 minutes (900 seconds); Nexla automatically handles token refresh using the provided credentials, so your data flows remain uninterrupted.
-
Click the Save button at the bottom of the overlay. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation.
Use as a data source
To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Select the Employment Hero connector tile, then select the credential that will be used to connect to the Employment Hero instance, and click Next; or, create a new Employment Hero credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure data sources to ingest data from common Employment Hero endpoints. Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below; click on an endpoint to see more information about it and how to configure your data source for this endpoint.
Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to retrieve a sample of the data that will be fetched. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the source is configured correctly before saving.
Manual configuration
Employment Hero data sources can also be manually configured to ingest data from any valid Employment Hero API endpoint, including endpoints not covered by the pre-built templates, chained API calls, or custom request parameters. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, endpoint URL, date/time and lookup macros, path to data, metadata, and request headers.
The base URL for all Employment Hero API v1 endpoints is https://api.employmenthero.com/api/v1/. Append the specific resource path, replacing path parameters such as {organisation_id} and {employee_id} with the actual ID values — for example, https://api.employmenthero.com/api/v1/organisations/{organisation_id}/employees.
Employment Hero API responses return a JSON object with a top-level data array containing the resource records, plus pagination metadata. Enter $.data[*] as the Path to Data in Response. The Accept:application/json header is used for JSON responses.
Date/time macros are particularly useful for Employment Hero endpoints that accept date filters, such as filtering leave requests or timesheet entries by date range, enabling incremental data ingestion rather than fetching the entire dataset on each run.
Once all of the relevant settings have been configured, click the Create button in the upper right corner of the screen to save and create the new Employment Hero data source. Nexla will now begin ingesting data from the configured endpoint and will organize any data that it finds into one or more Nexsets.
Use as a destination
Click the + icon on the Nexset that will be sent to the Employment Hero destination, and select the Send to Destination option from the menu. Select the Employment Hero connector from the list of available destination connectors, then select the credential that will be used to connect to the Employment Hero organisation, and click Next; or, create a new Employment Hero credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure destinations to send data to common Employment Hero endpoints. Select the endpoint to which data will be sent from the Endpoint pulldown menu. Then, click on the template in the list below to expand it, and follow the instructions to configure additional endpoint settings.
Manual configuration
Employment Hero destinations can also be manually configured to send data to any valid Employment Hero API endpoint. Using manual configuration, you can also configure Nexla to automatically send the response received from the Employment Hero API after each call to a new Nexla webhook data source. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, data format, endpoint URL, request headers, attribute exclusions, record batching, and response webhooks.
The base URL for all Employment Hero API v1 endpoints is https://api.employmenthero.com/api/v1/ (for example, https://api.employmenthero.com/api/v1/organisations/{organisation_id}/employees to write employee records to a specific organisation); for update/upsert operations, include the ID of the object to be updated at the end of the URL. The Employment Hero API accepts JSON-encoded request bodies — select JSON as the Content Format. Use POST for creating new records and PUT or PATCH for updating existing records.
Save & activate
Once all endpoint settings have been configured, click the Done button in the upper right corner of the screen to save and create the destination. To send the data to the configured Employment Hero endpoint, open the destination resource menu, and select Activate.
The Nexset data will not be sent to Employment Hero until the destination is activated. Destinations can be activated immediately or at a later time, providing full control over data movement.