List employee enrollments
employees.list_enrollments(employee_id, **kwargs) -> PageNumberPage<Enrollment { id, answered_at, benefit, 10 more } >
GET/v1/employees/{employee_id}/enrollments
Retrieves a paginated list of benefit enrollments for an employee.
List employee enrollments
require "vitable_connect"
vitable_connect = VitableConnect::Client.new(
api_key: "My API Key",
environment: "environment_1" # defaults to "production"
)
page = vitable_connect.employees.list_enrollments("empl_abc123def456")
puts(page){
"data": [
{
"id": "enrl_abc123def456",
"employee_id": "empl_xyz789ghi012",
"employer_id": "empr_def456ghi789",
"benefit": {
"id": "bprd_medical456",
"name": "MEC Plus",
"product_code": "MEC_PLUS",
"category": "Medical"
},
"status": "enrolled",
"coverage_start": "2026-04-01",
"coverage_end": "2027-03-31",
"employee_deduction_in_cents": 5000,
"employer_contribution_in_cents": 25000,
"answered_at": "2026-01-20T14:30:00Z",
"terminated_at": null,
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-15T10:30:00Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 1,
"total_pages": 1
}
}Returns Examples
{
"data": [
{
"id": "enrl_abc123def456",
"employee_id": "empl_xyz789ghi012",
"employer_id": "empr_def456ghi789",
"benefit": {
"id": "bprd_medical456",
"name": "MEC Plus",
"product_code": "MEC_PLUS",
"category": "Medical"
},
"status": "enrolled",
"coverage_start": "2026-04-01",
"coverage_end": "2027-03-31",
"employee_deduction_in_cents": 5000,
"employer_contribution_in_cents": 25000,
"answered_at": "2026-01-20T14:30:00Z",
"terminated_at": null,
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-15T10:30:00Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 1,
"total_pages": 1
}
}