Employees
List all employees
Changed onReturns a list of your employees. The employees are returned sorted by creation date, with the most recent employees appearing first.
get/employees
Request
- Base URLhttps://test.api.kota.io
- URLhttps://test.api.kota.io/employees
- AuthHTTP bearer
Query parameters
filterstring
Multiple values can be provided by separating them with a comma. Allowed values are: pending, active, offboarding, inactive, restricted.
employer_idstring
Example:er_3b1333d87d9d4fd6ad83ba7f6b0e951a
Filter by employer ID.
external_customer_idstring
metadata_idstring
Filter by the employee's metadata "id" value (case-insensitive, accent-insensitive, partial match)
pageinteger
The page of results to return. Defaults to 1 if not provided.
page_sizeinteger
The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.
Response
OK
Example response
{
"items": [
{
"platform_id": "pt_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"id": "ee_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"employer_id": "er_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"date_of_birth": "2024-12-01",
"start_on": "2024-12-01",
"earliest_benefits_start_date": "2024-12-01",
"offboard_on": "2024-12-01T00:00:00Z"
}
],
"page": 1,
"page_size": 20,
"total_count": 1
}Changes
- warning
deleted the
headerrequest parameterX-Platform-Id
- warning
- breaking
the response property
//became nullable for the status
- breaking