Get enrollment details
client.enrollments.retrieve(stringenrollmentID, RequestOptionsoptions?): EnrollmentRetrieveResponse { data }
GET/v1/enrollments/{enrollment_id}
Retrieves a single enrollment: the employee and employer it belongs to, the benefit product, its status, the coverage period, the employee payroll deduction and employer contribution, and the enrolled plan’s Summary of Benefits and Coverage document when one is on file. An enrollment the caller cannot reach is indistinguishable from one that does not exist.
Get enrollment details
import VitableConnect from '@vitable-inc/vitable-connect';
const client = new VitableConnect({
apiKey: process.env['VITABLE_CONNECT_API_KEY'], // This is the default and can be omitted
});
const enrollment = await client.enrollments.retrieve('enrl_AAAAAAAAAAAAAAAAAAAAAQ');
console.log(enrollment.data);{
"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",
"sbc_url": "https://carrier.example.com/documents/sbc.pdf"
}
}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",
"sbc_url": "https://carrier.example.com/documents/sbc.pdf"
}
}