Skip to content

Get enrollment details

enrollments.retrieve(strenrollment_id) -> EnrollmentRetrieveResponse
GET/v1/enrollments/{enrollment_id}

Retrieves detailed information for a specific enrollment by ID.

ParametersExpand Collapse
enrollment_id: str

Unique enrollment identifier (enrl_*)

ReturnsExpand Collapse
class EnrollmentRetrieveResponse:

Response containing a single enrollment resource.

id: str

Unique enrollment identifier (enrl_*)

answered_at: Optional[datetime]

When the employee enrolled or waived

formatdate-time
benefit: Benefit

Nested benefit product summary

id: str

Benefit product ID (bprd_*)

category: Literal["Medical", "Dental", "Vision", "Hospital"]
  • Medical - Medical
  • Dental - Dental
  • Vision - Vision
  • Hospital - Hospital
One of the following:
"Medical"
"Dental"
"Vision"
"Hospital"
name: str

Display name of the benefit product

product_code: Literal["EBA", "VPC", "VPC_CORE", 12 more]
  • EBA - Eba Mec
  • VPC - Vpc Enhanced
  • VPC_CORE - Vpc Core
  • MEC - Vpc Mec
  • MEC2 - Mec2
  • MEC_PLUS - Mec Plus
  • MVP - Mvp
  • MVP2 - Mvp2
  • MVPSL - Mvpsl
  • MVPSL2 - Mvpsl2
  • VD - Dental
  • VV - Vision
  • ICHRA - Ichra
  • ICHRA_PREMIUM_PLUS - Ichra Premium Plus
  • ICHRA_REIMBURSEMENT_ONLY - Ichra Reimbursement Only
One of the following:
"EBA"
"VPC"
"VPC_CORE"
"MEC"
"MEC2"
"MEC_PLUS"
"MVP"
"MVP2"
"MVPSL"
"MVPSL2"
"VD"
"VV"
"ICHRA"
"ICHRA_PREMIUM_PLUS"
"ICHRA_REIMBURSEMENT_ONLY"
coverage_end: Optional[date]

Coverage period end date

formatdate
coverage_start: date

Coverage period start date

formatdate
created_at: datetime

When the enrollment was created

formatdate-time
employee_deduction_in_cents: Optional[int]

Employee monthly payroll deduction in cents

employee_id: str

Employee ID (empl_*)

employer_contribution_in_cents: Optional[int]

Employer monthly contribution in cents

employer_id: str

Employer ID (empr_*)

  • pending - Pending
  • enrolled - Enrolled
  • waived - Waived
  • inactive - Inactive
One of the following:
"pending"
"enrolled"
"waived"
"inactive"
terminated_at: Optional[datetime]

When coverage was terminated

formatdate-time
updated_at: datetime

When the enrollment was last updated

formatdate-time

Get enrollment details

import os
from vitable_connect import VitableConnect

client = VitableConnect(
    api_key=os.environ.get("VITABLE_CONNECT_API_KEY"),  # This is the default and can be omitted
)
enrollment = client.enrollments.retrieve(
    "enrl_abc123def456",
)
print(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"
  }
}
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"
  }
}