List employees

Retrieve a paginated list of employees for your company. Supports filtering by active status, department, employment status, employment type, start date range (start_date_after and start_date_before, both inclusive), and name search (case-insensitive; each word must partly match first name, last name or nickname). Each employee item includes an employment_type field, the role of that employee record. Employee and contractor records are the company's workers: only they are paid and have hours, shifts and time off. An admin record is a dashboard login, not a worker; the list returns admin records too. To count workers, filter by employment_type once per type (employee, then contractor), with is_active=true for those who are active. One user can hold several roles in a company, each with its own employee record and its own profile details; roles lists every role this record's user holds here, with that role's employee_id. Results are sorted by first name (A to Z) unless sort and order name another order: by first name, start date or current pay rate, ascending or descending.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
integer
≥ 1
Defaults to 1

Page number (1-indexed)

integer
1 to 100
Defaults to 25

Number of employees per page (max 100)

string
enum

Filter by active status

Allowed:
integer

Filter by department ID

string

Filter by employment status (e.g. "active", "dismissed")

string
enum

Filter by employment type (e.g. "admin", "employee", "contractor")

Allowed:
string

Search by first name, last name or nickname. Each word must partly match one of them, so a full name works (case-insensitive). Only the first five words are used.

date

Only employees whose start date is on or after this date (YYYY-MM-DD, inclusive), a calendar day in the company's timezone. A record with no start date is left out when either start date filter is set.

date

Only employees whose start date is on or before this date (YYYY-MM-DD, inclusive), a calendar day in the company's timezone. It must not be earlier than start_date_after.

string
enum
Defaults to first_name

What the list is sorted by: first_name (the default), start_date, or rate (the current pay rate in current_earning: its salary for a salary or hourly_salary payment_unit, its payment_amount otherwise). A rate sort compares the amounts as numbers, so an hourly rate and an annual salary are not converted to each other; current_earning.payment_unit names the unit. A record with no start date or no pay rate comes last in either order, and employee_id breaks ties.

Allowed:
string
enum
Defaults to asc

Sort direction: asc (the default: A to Z, earliest start date, lowest rate first) or desc (Z to A, latest start date, highest rate first).

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json