Get employees
Security
oauth2(Required scopes: employee:list) or bearerAuth or apiKeyHeader
The search term on which to search. It will match ANY employee when the search term matches the following:
- case-insensitive matches any substring of an employee's first name
- case-insensitive matches any substring of an employee's last name
- if there is whitespace in the search term, split on the whitespace, and case-insensitive match the first part to any substring of an employee's first name and the second part to any substring of the last name
- exactly matches an employee's user's ID
- exactly matches an employee's ID
- exactly matches an employee's external ID (prefixed with
ext-) - exactly matches one of employee's role IDs
GET
- oauth2
- bearerAuth
- apiKeyHeader
curl -i -X GET \
'https://sandboxapi.peach.finance/api/employees?sortBy=string&limit=25&offset=0&startingAfter=string&endingBefore=string&teamId=string&teamIds=string&excludeTeamIds=string&managerEmployeeId=string&search=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Success
Response
{ "count": 0, "nextUrl": "string", "previousUrl": "string", "status": 0, "total": 0, "data": [ { … } ] }