Skip to main content
POST
Search the organisation's employees on any field

Authorizations

X-Auth-Token
string
header
required

Access token obtained from OAuth2 client credentials flow

X-Org-Id
string
header
required

Organisation to scope the request to. Required when the principal can access more than one organisation; optional for single-organisation principals (the authorizer resolves it automatically).

Headers

Request-Id
string

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

Body

application/json

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.

asAt
string<date> | null

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

Example:

"2026-11-05"

status
enum<string>

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

Available options:
All,
Active,
Leaver,
FutureLeaver
Example:

"Active"

search
string | null

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

Example:

"jane"

filters
object[] | null

Every one must hold.

sort
object[] | null

Then by last name and first name.

fields
string[] | null

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

Example:
limit
integer<int32>

At most this many, from 1 to 500.

Example:

100

offset
integer<int32>

How many matches to skip.

Example:

0

consistentWith
object[] | 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.

Response

Employees found

message
object
required

A readable message about the outcome and a stable token a client can branch on.

content
object

The data the request returns with its metadata; left out on a response that carries no data, such as most errors.

validationIssues
object[] | null

Each field the request was refused for and why; left out when the request was not refused for its fields.