View Categories

Partner API The Employee Object

Partner API The Employee Object #

The employee object is the core record for anyone who works at a company in Friday — whether they’re a full-payroll employee, a contractor, or an administrator. This guide explains every field on the employee object, what the key enumerations mean, and how the same person can appear as multiple employee records.


Overview #

When you call GET /employees or GET /employees/:employee_id, you get back an employee object (or a list of them). Each object represents a single employment relationship between a person and a company under a specific role.

There are two shapes of the employee object:

| Shape | Returned by | Extra fields |
|——-|————-|————–|
| List item | GET /employees | current_earning |
| Detail | GET /employees/:employee_id | Everything in the list item, plus recovery_email, work_phone_ext, daily_time_limit, weekly_time_limit, paid_lunch_time, lunch_in_overtime, created_at, and earning_history |

The detail shape is a superset of the list shape — every field on the list item is present on the detail object.


Field Reference #

Core identity fields #

| Field | Type | Description |
|——-|——|————-|
| employee_id | integer | Unique identifier for this employee record. |
| first_name | string | First name. |
| last_name | string | Last name. |
| middle_name | string | null | Middle name or initial, if provided. |
| email | string | Primary email address. |
| nickname | string | null | Preferred name / display name. |
| dob | string | null | Date of birth in YYYY-MM-DD format. |

Employment status fields #

| Field | Type | Description |
|——-|——|————-|
| is_active | boolean | Whether the employee is currently active. Inactive employees have been offboarded or dismissed. |
| status | string | null | Freeform employment status (e.g. "active", "dismissed"). |
| onboarding_status | string | Where the employee is in the onboarding flow. Values: "completed", "needs_attention", "blocking". |
| start_date | date-time | null | The employee’s start date at the company. |

Classification fields #

| Field | Type | Description |
|——-|——|————-|
| employment_type | string | null | The classification of this employee record. See Employment Types below. |
| timetrack_only | boolean | null | Whether this employee is excluded from payroll. See Timetrack Only below. |
| contractor_type | string | null | For contractors, indicates the contractor sub-type (e.g. "individual", "business"). Null for non-contractors. |

Contact fields #

| Field | Type | Description |
|——-|——|————-|
| mobile_phone | string | null | Mobile phone number. |
| home_phone | string | null | Home phone number. |
| recovery_email | string | null | (Detail only) Alternate email for account recovery. |
| work_phone_ext | string | null | (Detail only) Work phone with extension. |

Time tracking fields #

| Field | Type | Description |
|——-|——|————-|
| daily_time_limit | number | null | (Detail only) Maximum hours per day this employee should work. Used for alerts, not hard enforcement. |
| weekly_time_limit | number | null | (Detail only) Maximum hours per week. |
| paid_lunch_time | integer | null | (Detail only) Paid lunch time in minutes. |
| lunch_in_overtime | boolean | null | (Detail only) Whether paid lunch minutes count toward overtime calculations. |

Organizational fields #

| Field | Type | Description |
|——-|——|————-|
| department | object | null | The department the employee belongs to, with department_id and name. Null if unassigned. |
| pay_schedule_group | object | null | The pay schedule group (e.g. “Weekly”, “Biweekly”) the employee is assigned to, with pay_schedule_group_id and name. Null if unassigned. |
| address | object | null | The employee’s home address with address_line_1, address_line_2, city, state, zip, and country. |

Earnings fields #

| Field | Type | Description |
|——-|——|————-|
| current_earning | object | null | The most recent earning record with an effective date on or before today. See Earnings below. Null if no earning record exists. |
| earning_history | array | (Detail only) All earning records ordered by start_date descending. Includes both current and future scheduled earnings. |

— #

Example: Detail Object #

{
“employee_id”: 25,
“first_name”: “John”,
“last_name”: “Doe”,
“middle_name”: null,
“email”: “john.doe@acmecorp.com”,
“nickname”: null,
“dob”: “1990-05-15”,
“is_active”: true,
“onboarding_status”: “completed”,
“start_date”: “2023-06-01T00:00:00.000Z”,
“status”: “active”,
“mobile_phone”: “+1-555-987-6543”,
“home_phone”: null,
“contractor_type”: null,
“timetrack_only”: false,
“employment_type”: “employee”,
“department”: {
“department_id”: 5,
“name”: “Engineering”
},
“pay_schedule_group”: {
“pay_schedule_group_id”: 3,
“name”: “Biweekly”
},
“address”: {
“address_line_1”: “123 Main St”,
“address_line_2”: “Apt 4B”,
“city”: “New York”,
“state”: “NY”,
“zip”: “10001”,
“country”: “US”
},
“recovery_email”: “john.personal@gmail.com”,
“work_phone_ext”: null,
“daily_time_limit”: 8,
“weekly_time_limit”: 40,
“paid_lunch_time”: 30,
“lunch_in_overtime”: false,
“created_at”: “2023-06-01T14:30:00.000Z”,
“current_earning”: {
“employee_earnings_id”: 42,
“start_date”: “2024-01-01T00:00:00.000Z”,
“payment_unit”: “hour”,
“salary_type”: null,
“payment_amount”: 35.00,
“salary”: null,
“overtime_amount”: 1.5,
“default_hours”: 40,
“pto_payment_amount”: 35.00
},
“earning_history”: [
{
“employee_earnings_id”: 42,
“start_date”: “2024-01-01T00:00:00.000Z”,
“payment_unit”: “hour”,
“salary_type”: null,
“payment_amount”: 35.00,
“salary”: null,
“overtime_amount”: 1.5,
“default_hours”: 40,
“pto_payment_amount”: 35.00
},
{
“employee_earnings_id”: 18,
“start_date”: “2023-06-01T00:00:00.000Z”,
“payment_unit”: “hour”,
“salary_type”: null,
“payment_amount”: 28.00,
“salary”: null,
“overtime_amount”: 1.5,
“default_hours”: 40,
“pto_payment_amount”: 28.00
}
]
}


Filtering Employees #

The GET /employees endpoint supports several query parameters for filtering:

| Parameter | Type | Description |
|———–|——|————-|
| is_active | "true" | "false" | Filter by active status. |
| department_id | integer | Filter by department. |
| status | string | Filter by employment status (e.g. "active", "dismissed"). |
| employment_type | string | Filter by employment type: "admin", "employee", or "contractor". |
| name | string | Search by first or last name (case-insensitive partial match). |

Remember that if a person has multiple employee records (e.g. both admin and employee), filtering by employment_type=employee will return only their employee record, not their admin record.


What’s Next #

  • Invite employees — See the Inviting an Employee guide for a walkthrough of the invite endpoint, including which fields are required for each employment type and plan.
  • Update employees — Use PATCH /employees/:employee_id to update profile fields, addresses, departments, and workplaces.
  • Track time — Once employees exist, you can clock them in and out via the Time Records endpoints.
  • Process payroll — Employees with earnings are included in payroll runs. See the Payroll Processing guide.