Skip to navigation

Get employees

Retrieves a paginated list of employees.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

pageintegerOptional>=1Defaults to 1
Page number, starting from 1.
limitintegerOptional1-500Defaults to 10

Page size. Defaults to 10; values above 500 are capped at 500.

searchColenumOptional

Column to search, used with searchVal.

Allowed values:
searchValstringOptional

Text to look for in searchCol (partial, case-insensitive match).

sortColumnstringOptional
Column to sort by.
sortOrderenumOptionalDefaults to asc
Allowed values:
payCycleIdstringOptionalformat: "uuid"
Only employees on this pay cycle.
statusFilterenumOptional

1 active, 2 inactive, 3 terminated. Omit it to return all employees.

Allowed values:

Response

Successful Response
rowslist of objectsOptional
limitdoubleOptional
Page size
totalCountdoubleOptional
Number of employees matching the filters
currentPagedoubleOptional
Current page number
totalPagesdoubleOptional
Number of pages