Search the organisation's employees on any field

Needs permission employee:read.

Filters on any employee field (every operator a field's type allows; tags and other repeated fields match any or all values), dated values such as the tax code and NI category as on asAt, sorting, the fields to answer, and paging with how many match in all, so a list can say "50 of 6,000". Fields your role cannot read are neither answered nor matched. GET /employee-fields lists every field you can filter on. To see your own change straight after a write, send the employee and the updatedDate your write returned in consistentWith.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

What to match, sort and answer; an empty body lists every employee

Employees of the organisation matching every filter, a page at a time, with how many match in all.

date | null

The date dated values and where each employee stands are read for, yyyy-MM-dd; today when omitted.

string
enum

Leaver: marked a leaver or left before the date. FutureLeaver: active with a leaving date on or after it. All when omitted.

Allowed:

Name, email, employee code or payroll ID containing this, any case.

filters
array of objects | null

Every one must hold.

filters
sort
array of objects | null

Then by last name and first name.

sort
fields
array of strings | null

The fields to answer; a group such as address answers all of it. Everything your role can read when omitted.

fields
int32

At most this many, from 1 to 500.

int32

How many matches to skip.

consistentWith
array of objects | null

Employees you have just written: the answer waits until it reflects them, or answers 503 with Retry-After when it cannot within ten seconds.

consistentWith
Headers
string

Optional. Your id for this request: it is carried into every log line about it, so quote it when you contact support.

Responses

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