List employees
/v1/employers/{employer_id}/employees
Retrieves a paginated list of all employees for a specific employer. Use query parameters to filter by active status or employment classification. Results are paginated using page and limit parameters.
Path Parameters
employer_id: string
Query Parameters
active_in: optional boolean
Filter by active status
limit: optional number
Items per page (default: 20, max: 100)
minimum1
maximum100
page: optional number
Page number (default: 1)
minimum1
Returns
id: string
Unique employee identifier with 'empl_' prefix
active: boolean
Whether the employee is currently active
created_at: string
Timestamp when the employee was created
formatdate-time
employer_id: string
ID of the employer this employee works for (empr_*)
start_date: string
Employee's start/hire date with the employer
formatdate
updated_at: string
Timestamp when the employee was last updated
formatdate-time
termination_date: optional string
Employee's termination date, if terminated
formatdate
List employees
curl https://api.vitablehealth.com/v1/employers/$EMPLOYER_ID/employees \
-H "Authorization: Bearer $VITABLE_connect_API_API_KEY"
[
{
"id": "id",
"active": true,
"created_at": "2019-12-27T18:11:19.117Z",
"employer_id": "employer_id",
"member": {
"id": "id",
"date_of_birth": "2019-12-27",
"first_name": "first_name",
"last_name": "last_name",
"sex": "Male",
"email": "dev@stainless.com",
"gender": "gender",
"phone": "phone",
"suffix": "suffix"
},
"start_date": "2019-12-27",
"updated_at": "2019-12-27T18:11:19.117Z",
"address": {
"city": "city",
"state": "state",
"street_1": "street_1",
"zip_code": "zip_code",
"country": "country",
"street_2": "street_2"
},
"employee_class": "Full Time",
"termination_date": "2019-12-27"
}
]
Returns Examples
[
{
"id": "id",
"active": true,
"created_at": "2019-12-27T18:11:19.117Z",
"employer_id": "employer_id",
"member": {
"id": "id",
"date_of_birth": "2019-12-27",
"first_name": "first_name",
"last_name": "last_name",
"sex": "Male",
"email": "dev@stainless.com",
"gender": "gender",
"phone": "phone",
"suffix": "suffix"
},
"start_date": "2019-12-27",
"updated_at": "2019-12-27T18:11:19.117Z",
"address": {
"city": "city",
"state": "state",
"street_1": "street_1",
"zip_code": "zip_code",
"country": "country",
"street_2": "street_2"
},
"employee_class": "Full Time",
"termination_date": "2019-12-27"
}
]