Skip to content
EquiPay Engine Docs
Esc
navigateopen⌘Jpreview

List employees

Returns the calling token’s organization’s employees. Requires the employees:read scope. Salary and personnummer fields are only included when the token additionally holds employees:read:pii.

GET/employees
Query parameters
departmentstring
Filter to a single department name.
limitinteger
min 1 · max 500 · default: 100
Responses
200A page of employee records.
dataEmployee[]
Show properties
Array of Employee
EMAILstring<email>
NAMEstring
GENDERstring
Allowed:FemaleMaleUnknown
DEPARTMENTstring
ROLEstring
SALARY BANDstring
BASE SALARYnumber
Only present with the `employees:read:pii` scope.
countinteger
401Missing or invalid API key.
errorobject
Show properties
statusstring
messagestring
403The API key lacks the scope required for this route.
errorobject
Show properties
statusstring
messagestring
429Per-token rate limit exceeded.
errorobject
Show properties
statusstring
messagestring
Request
curl -X GET "https://paygap-jaggeman.web.app/api/v1/employees"
Response
{
  "data": [
    {
      "EMAIL": "anna@company.com",
      "NAME": "Anna Andersson",
      "GENDER": "Female",
      "DEPARTMENT": "Engineering",
      "ROLE": "Software Engineer",
      "SALARY BAND": "Band 3",
      "BASE SALARY": 55000
    }
  ],
  "count": 42
}