List employees
Changed onReturns a list of all employees. Employees will be returned from the list endpoint in alphabetical order, sorted by last name, first name.
Request
- Base URLhttps://sandbox.checkhq.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Return employees for this company ID.
Number of employees returned per page. The maximum value is 100.
Return employees who work at these workplaces (can be comma-separated list of workplace IDs)
Include employees only with a certain active status
Include each employee's company_defined_attributes in the response, in the same format returned by Get company-defined attributes. Pass true to include them. Leave the parameter out to omit them. Which attributes are returned depends on the company and employee, so find each attribute by its name rather than its position in the list.
Filter the list to the specified IDs. For more details, check out the Bulk Get Requests guide.
Return only results whose metadata contains every given key and value, for example metadata[external_id]=123. Pass keys using bracket notation. Multiple keys are combined with AND. Brackets must be URL-encoded in request URLs (metadata%5Bkey%5D=value).
Response
200
Changes
- info
added the new optional
queryrequest parameterid - info
added the new optional
queryrequest parameterinclude_company_defined_attributes - info
added the new optional
queryrequest parametermetadata
- info