For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Logo
Resources
Log inGet a demo
Get startedAPI referenceImplementation
Get startedAPI referenceImplementation
    • Overview
          • The Employee object
          • GET/employees
          • GET/employees/{id}
          • POST/employees/ignore/{model_id}
          • GET/employees/meta/post
UnifiedAgent HandlerGateway
UnifiedAgent HandlerGateway
Resources
Log inGet a demo
Common ModelsEmployees

The Employee object

The Employee Object
1{
2 "id": "string",
3 "remote_id": "string",
4 "created_at": "2023-01-01T00:00:00Z",
5 "modified_at": "2023-01-01T00:00:00Z",
6 "employee_number": "string",
7 "company": "string",
8 "first_name": "string",
9 "last_name": "string",
10 "preferred_name": "string",
11 "display_full_name": "string",
12 "username": "string",
13 "groups": [
14 "string"
15 ],
16 "work_email": "string",
17 "personal_email": "string",
18 "mobile_phone_number": "string",
19 "employments": [
20 "string"
21 ],
22 "home_location": "string",
23 "work_location": "string",
24 "manager": "string",
25 "team": "string",
26 "pay_group": "string",
27 "ssn": "string",
28 "gender": "MALE",
29 "ethnicity": "AMERICAN_INDIAN_OR_ALASKA_NATIVE",
30 "marital_status": "SINGLE",
31 "date_of_birth": "2023-01-01T00:00:00Z",
32 "hire_date": "2023-01-01T00:00:00Z",
33 "start_date": "2023-01-01T00:00:00Z",
34 "remote_created_at": "2023-01-01T00:00:00Z",
35 "employment_status": "ACTIVE",
36 "termination_date": "2023-01-01T00:00:00Z",
37 "avatar": "string",
38 "custom_fields": {
39 "string": {}
40 },
41 "remote_was_deleted": true,
42 "field_mappings": {},
43 "remote_data": [
44 {
45 "path": "string",
46 "data": {}
47 }
48 ]
49}
Was this page helpful?
Previous

/employee-payroll-runs/{id}

Next

/employees

Built with

The Employee object is used to represent any person who has been employed by a company. By default, it returns all employees. To filter for only active employees, set the employment_status query parameter to ACTIVE.

idstringOptionalRead-onlyformat: "uuid"
remote_idstring or nullOptional
created_atdatetimeOptionalRead-only
The datetime that this object was created by Merge.
modified_atdatetimeOptionalRead-only
The datetime that this object was modified by Merge.
employee_numberstring or nullOptional
companystring or nullOptionalformat: "uuid"
The ID of the employee's company.
first_namestring or nullOptional
The employee's first name.
last_namestring or nullOptional
The employee's last name.
preferred_namestring or nullOptional
The employee's preferred first name.
display_full_namestring or nullOptional
The employee's full name, to use for display purposes. If a preferred first name is available, the full name will include the preferred first name.
usernamestring or nullOptional
The employee's username that appears in the remote UI.
groupslist of stringsOptional
work_emailstring or nullOptionalformat: "email"<=254 characters
The employee's work email.
personal_emailstring or nullOptionalformat: "email"<=254 characters
The employee's personal email.
mobile_phone_numberstring or nullOptional
The employee's mobile phone number.
employmentslist of stringsOptional
home_locationstring or nullOptionalformat: "uuid"
The employee's home address.
work_locationstring or nullOptionalformat: "uuid"
The employee's work address.
managerstring or nullOptionalformat: "uuid"
The employee ID of the employee's manager.
pay_groupstring or nullOptionalformat: "uuid"
The employee's pay group
ssnstring or nullOptional<=100 characters
The employee's social security number.
genderenum or nullOptional
Allowed values:
ethnicityenum or nullOptional
marital_statusenum or nullOptional
Allowed values:
date_of_birthdatetime or nullOptional
The employee's date of birth.
start_datedatetime or nullOptional
The date that the employee started working. If an employee was rehired, the most recent start date will be returned.
remote_created_atdatetime or nullOptional
When the third party's employee was created.
employment_statusenum or nullOptional
Allowed values:
termination_datedatetime or nullOptional
The employee's termination date.
avatarstring or nullOptionalformat: "uri"<=2000 characters
The URL of the employee's avatar image.
custom_fieldsmap from strings to any or nullOptional
Custom fields configured for a given model.
remote_was_deletedbooleanOptionalRead-only
field_mappingsobject or nullOptionalRead-only
remote_datalist of objects or nullOptionalRead-only
teamstring or nullOptionalformat: "uuid"Deprecated
The employee's team.
hire_datedatetime or nullOptionalDeprecated