> ## Documentation Index
> Fetch the complete documentation index at: https://hilo.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Employees

> List, add and change employees, and read locations and positions.

> [!NOTE]
>
> Paths are relative to `https://www.hiloscheduling.com/api/partner/v1`. "Needs" is the scope your key needs; Hilo must also have turned on the matching permission for your partner account. `{id}` is the business's Hilo id.

An employee looks like this. Nothing sensitive is ever included.

```json theme={null}
{
  "id": "0f5e…",
  "employeeCode": "E1042",
  "externalId": "POS-EMP-77",
  "firstName": "Samuel",
  "lastName": "Rivera",
  "preferredName": "Sam",
  "displayName": "Sam Rivera",
  "email": "sam.rivera@example.com",
  "phone": "+12085550142",
  "locationIds": ["…"],
  "positionIds": ["…"],
  "employmentType": "part_time",
  "hireDate": "2026-11-24",
  "terminationDate": null,
  "active": true,
  "account": "invited"
}
```

`account` is `active` (they sign in to Hilo), `invited` (onboarding email sent) or `none`. An empty `locationIds` means they work at every location.

## GET /organizations/\{id}/employees

Active employees, by last name. Needs `employees:read`. Filters: `include_inactive=true`, `external_id`, and `q` (searches names, codes and emails).

## GET /organizations/\{id}/employees/\{employeeId}

One employee. Needs `employees:read`.

## POST /organizations/\{id}/employees

Add someone. Needs `employees:write`.

| Field | Required | |
| - | - | - |
| `firstName`, `lastName` | yes | Their legal name |
| `performedBy` | yes | Who is adding them |
| `middleName`, `preferredName` | no | |
| `email` | no | With an email, Hilo emails them to finish onboarding (unless `sendInvite` is `false`) |
| `phone` | no | Mobile number. Texts only start after they say YES. |
| `externalId` | no | Your id for them, unique in the business |
| `locationIds`, `positionIds` | no | From the locations and positions endpoints |
| `employmentType` | no | `full_time`, `part_time` (default), `seasonal` or `temporary` |
| `hireDate` | no | Like `2026-11-24` |
| `employeeCode` | no | Hilo picks the next one if you leave it out |

The answer is the employee plus `invitationSent`.

## PATCH /organizations/\{id}/employees/\{employeeId}

Change `preferredName`, `email`, `phone`, `locationIds`, `positionIds`, `employmentType` or `externalId`; or send `active: false` to deactivate them (optional `terminationDate`, default today) and `active: true` to bring them back. Send only what changes, plus `performedBy`. Needs `employees:write`.

The legal name (`firstName`, `middleName`, `lastName`) can't be changed here; the business changes it in Hilo. A new email or phone number works like it does in Hilo: a new number needs the person's YES before texts start again, and if they already sign in, they get an email to confirm the new address.

## POST /organizations/\{id}/employees/\{employeeId}/invite

Emails them their Hilo setup link again. Send `performedBy`. Needs `employees:write`.

## GET /organizations/\{id}/locations

The business's locations: `id`, `name`, `timeZone`, `active` and address. Needs `employees:read`.

## GET /organizations/\{id}/positions

The business's positions (like Cashier or Barista): `id`, `name`, `jobCode`, `department`. Needs `employees:read`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.