This endpoint retrieves a list of the complete employment history for a specific employee.
https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/employment_historiesPath Parameters
The ID of the organisation to retrieve
The ID of the employee to retrieve
Query Parameters
Current page index
11Number of items per page
20100Response Body
A hash with a data property that contains an array of up to the limit of employment history records. Each entry in the array is a separate employment history object. If there is no more employment history, the resulting array will be empty.
Unique identifier for the object.
The title of employee
The start date of employment history
The end date of employment history
The employment type of employee. Valid types depend on the employee's region. Common values: Full-time, Part-time, Casual
The contract type of employee
The industry standard job title
The reason for the employment history change. Null when no reason has been recorded.
Current page index
11Number of items per page
20100Total items
Total pages
Example
curl -X GET \ "https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/employment_histories" \ -H "Authorization: Bearer AUXJ3123xyrj123fdsjkl124aAJKQ"Response
{ "data": { "items": [ { "id": "bf9c12e1-b40b-4fa9-abcb-d824e5cb3654", "title": "Grad Developer", "start_date": "2025-03-01T00:00:00+00:00", "end_date": "2026-08-09T00:00:00+00:00", "employment_type": "Full-time", "contract_type": "Permanent", "industry_standard_job_title": "Software Engineer", "reason_for_change": "Promotion" } ], "page_index": 1, "item_per_page": 20, "total_items": 1, "total_pages": 1 }}This endpoint creates an employment history entry for an employee. It follows the same validation and approval workflow as the Employment Hero web app.
https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/employment_historiesPath Parameters
The ID of the organisation.
The ID of the employee.
Request Body
The job title of the employee for this entry.
The start date in YYYY-MM-DD format.
The end date in YYYY-MM-DD format. Required when contract_type is Fixed term or Maximum term.
The employment type. Valid values depend on the employee's work country and organisation. Common values: Full-time, Part-time, Casual.
The contract type. Maximum term is available only for Australian organisations with maximum term management enabled. Zero hours/casual is available only for UK organisations and requires the Casual employment type.
Free text recorded when contract_type is Maximum term. Ignored for other contract types. Maximum 1000 characters.
The industry standard job title.
The reason for the change. Saved only for Australian organisations with WGEA fields enabled; ignored otherwise.
Retain job-title-based certifications when the title changes. Ignored unless certification job title assignment is enabled for the organisation.
Response Body
Returns HTTP 201 Created with the newly created employment history entry.
Unique identifier for the object.
The title of employee
The start date of employment history
The end date of employment history
The employment type of employee. Valid types depend on the employee's region. Common values: Full-time, Part-time, Casual
The contract type of employee
The industry standard job title
The reason for the employment history change. Null when no reason has been recorded.
Example
curl -X POST \ "https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/employment_histories" \ -H "Authorization: Bearer AUXJ3123xyrj123fdsjkl124aAJKQ" \ -H "Content-Type: application/json" \ -d '{ "title": "Grad Developer", "start_date": "2025-03-01", "end_date": "2026-08-09", "employment_type": "Full-time", "contract_type": "Fixed term", "industry_standard_job_title": "Software Engineer", "reason_for_change": "Promotion" }'Response
{ "data": { "id": "bf9c12e1-b40b-4fa9-abcb-d824e5cb3654", "title": "Grad Developer", "start_date": "2025-03-01T00:00:00+00:00", "end_date": "2026-08-09T00:00:00+00:00", "employment_type": "Full-time", "contract_type": "Permanent", "industry_standard_job_title": "Software Engineer", "reason_for_change": "Promotion" }}This endpoint updates an existing employment history entry for an employee. Omitted fields are left unchanged.
https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/employment_histories/:idPath Parameters
The ID of the organisation.
The ID of the employee.
The ID of the employment history entry to update.
Request Body
The job title of the employee for this entry.
The start date in YYYY-MM-DD format.
The end date in YYYY-MM-DD format. Required when contract_type is sent as Fixed term or Maximum term.
The employment type. Valid values depend on the employee's work country and organisation. Common values: Full-time, Part-time, Casual.
The contract type. Maximum term is available only for Australian organisations with maximum term management enabled. Zero hours/casual is available only for UK organisations and requires the Casual employment type.
Free text recorded when contract_type is Maximum term. Ignored for other contract types. Maximum 1000 characters.
The industry standard job title.
The reason for the change. Saved only for Australian organisations with WGEA fields enabled; ignored otherwise.
Retain job-title-based certifications when the title changes. Ignored unless certification job title assignment is enabled for the organisation.
Response Body
Returns HTTP 200 OK with the updated employment history entry. Omitted fields are left unchanged.
Unique identifier for the object.
The title of employee
The start date of employment history
The end date of employment history
The employment type of employee. Valid types depend on the employee's region. Common values: Full-time, Part-time, Casual
The contract type of employee
The industry standard job title
The reason for the employment history change. Null when no reason has been recorded.
Example
curl -X PATCH \ "https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/employment_histories/:id" \ -H "Authorization: Bearer AUXJ3123xyrj123fdsjkl124aAJKQ" \ -H "Content-Type: application/json" \ -d '{ "title": "Senior Grad Developer", "reason_for_change": "Promotion" }'Response
{ "data": { "id": "bf9c12e1-b40b-4fa9-abcb-d824e5cb3654", "title": "Grad Developer", "start_date": "2025-03-01T00:00:00+00:00", "end_date": "2026-08-09T00:00:00+00:00", "employment_type": "Full-time", "contract_type": "Permanent", "industry_standard_job_title": "Software Engineer", "reason_for_change": "Promotion" }}This endpoint deletes an employment history entry for an employee.
https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/employment_histories/:idPath Parameters
The ID of the organisation.
The ID of the employee.
The ID of the employment history entry to delete.
Response Body
Returns HTTP 204 No Content when the entry is deleted. Returns HTTP 202 Accepted with a message when the deletion is submitted for approval; the entry is not removed until it is approved. No other response body is included.
Example
curl -X DELETE \ "https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/employment_histories/:id" \ -H "Authorization: Bearer AUXJ3123xyrj123fdsjkl124aAJKQ"Response
This endpoint does not return a response body.