Employment Hero LogoEmployment Hero

Employment History

This endpoint retrieves a list of the complete employment history for a specific employee.

GET
https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/employment_histories

Path Parameters

organisation_iduuidrequired

The ID of the organisation to retrieve

employee_iduuidrequired

The ID of the employee to retrieve

Query Parameters

page_indexnumber

Current page index

Default1
Min1
item_per_pagenumber

Number of items per page

Default20
Max100

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

dataobject
itemsobject[]
iduuid

Unique identifier for the object.

titlestring

The title of employee

start_datedatetime

The start date of employment history

end_datedatetime

The end date of employment history

employment_typestring

The employment type of employee. Valid types depend on the employee's region. Common values: Full-time, Part-time, Casual

contract_typeenum<string>

The contract type of employee

industry_standard_job_titlestring

The industry standard job title

reason_for_changeenum<string>

The reason for the employment history change. Null when no reason has been recorded.

page_indexnumber

Current page index

Default1
Min1
item_per_pagenumber

Number of items per page

Default20
Max100
total_itemsnumber

Total items

total_pagesnumber

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.

POST
https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/employment_histories

Path Parameters

organisation_iduuidrequired

The ID of the organisation.

employee_iduuidrequired

The ID of the employee.

Request Body

titlestringrequired

The job title of the employee for this entry.

start_datestringrequired

The start date in YYYY-MM-DD format.

end_datestring

The end date in YYYY-MM-DD format. Required when contract_type is Fixed term or Maximum term.

employment_typestring

The employment type. Valid values depend on the employee's work country and organisation. Common values: Full-time, Part-time, Casual.

contract_typeenum<string>

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.

termination_conditionsstring

Free text recorded when contract_type is Maximum term. Ignored for other contract types. Maximum 1000 characters.

industry_standard_job_titlestring

The industry standard job title.

reason_for_changeenum<string>

The reason for the change. Saved only for Australian organisations with WGEA fields enabled; ignored otherwise.

retain_certificationsboolean

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.

dataobject
iduuid

Unique identifier for the object.

titlestring

The title of employee

start_datedatetime

The start date of employment history

end_datedatetime

The end date of employment history

employment_typestring

The employment type of employee. Valid types depend on the employee's region. Common values: Full-time, Part-time, Casual

contract_typeenum<string>

The contract type of employee

industry_standard_job_titlestring

The industry standard job title

reason_for_changeenum<string>

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.

PATCH
https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/employment_histories/:id

Path Parameters

organisation_iduuidrequired

The ID of the organisation.

employee_iduuidrequired

The ID of the employee.

iduuidrequired

The ID of the employment history entry to update.

Request Body

titlestring

The job title of the employee for this entry.

start_datestring

The start date in YYYY-MM-DD format.

end_datestring

The end date in YYYY-MM-DD format. Required when contract_type is sent as Fixed term or Maximum term.

employment_typestring

The employment type. Valid values depend on the employee's work country and organisation. Common values: Full-time, Part-time, Casual.

contract_typeenum<string>

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.

termination_conditionsstring

Free text recorded when contract_type is Maximum term. Ignored for other contract types. Maximum 1000 characters.

industry_standard_job_titlestring

The industry standard job title.

reason_for_changeenum<string>

The reason for the change. Saved only for Australian organisations with WGEA fields enabled; ignored otherwise.

retain_certificationsboolean

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.

dataobject
iduuid

Unique identifier for the object.

titlestring

The title of employee

start_datedatetime

The start date of employment history

end_datedatetime

The end date of employment history

employment_typestring

The employment type of employee. Valid types depend on the employee's region. Common values: Full-time, Part-time, Casual

contract_typeenum<string>

The contract type of employee

industry_standard_job_titlestring

The industry standard job title

reason_for_changeenum<string>

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.

DELETE
https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/employment_histories/:id

Path Parameters

organisation_iduuidrequired

The ID of the organisation.

employee_iduuidrequired

The ID of the employee.

iduuidrequired

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.