client.auth.issue_access_token(request) -> VitableConnect::Types::AccessTokenResponse
-
-
-
Issues a short-lived access token from the authenticated API key. Access tokens can optionally be bound to a specific employer or employee for scoped access. Tokens expire after 15 minutes.
-
-
-
client.auth.issue_access_token(grant_type: "client_credentials")
-
-
-
grant_type:
VitableConnect::Types::GrantTypeToken issuance flow. Currently only 'client_credentials' supported.
client_credentials- client_credentials
-
bound_entity:
VitableConnect::Types::BoundEntity— Optional entity to bind the token to for scoped access
-
request_options:
VitableConnect::Auth::RequestOptions
-
-
client.employees.get(employee_id:) -> VitableConnect::Types::EmployeeResponse
-
-
-
Retrieves detailed information for a specific employee by ID. Returns employee details including personal information, employment status, classification and compensation-type effective dates, compensation type, and payroll deductions from the most recent statement period. Deductions reflect a snapshot of the current period and are replaced when a new statement is generated.
-
-
-
client.employees.get(employee_id: "empl_abc123def456")
-
-
-
employee_id:
String— Unique employee identifier (empl_*)
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Employees::RequestOptions
-
-
client.employees.update(employee_id:, request) -> VitableConnect::Types::EmployeeResponse
-
-
-
Updates employee personal, contact, address, and employment fields. This endpoint currently supports email, phone, gender, address, employee_class, start_date, and compensation_type. effective_date is required and applies to employee_class and compensation_type when those fields are included in the request. Returns 409
employer_has_hris_connectionwhen the request changes employee_class, compensation_type or start_date while an HRIS connection manages this employer's employees; re-sending the current values with a new effective_date is allowed.Returns 404 if the employee does not exist or is not accessible to the caller, and 403
organization_access_deniedwhen an API key sendsX-Vitable-Organizationfor an organization other than its own.422
app_error_codevalues:email_taken(the email belongs to another person's Vitable account),invalid_account_update(another account detail, such as the phone, belongs to another person). 400 is returned for malformed input and for changes the employee record rejects (invalid_employee_update,employee_already_terminated).
-
-
-
client.employees.update( employee_id: "empl_abc123def456", employee_class: "Full Time", start_date: "2023-01-15", compensation_type: "Salary", effective_date: "2023-03-01" )
-
-
-
employee_id:
String— Unique employee identifier (empl_*)
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
email:
String— Email address
-
phone:
String— 10-digit US phone number; formatting characters and a leading 1 are ignored
-
gender:
VitableConnect::Types::GenderGender identity
Male- MaleFemale- FemaleTransgender- TransgenderNon-binary- Non-binaryPrefer not to respond- Prefer not to respond
-
address:
VitableConnect::Types::EmployeeAddressInput— Employee's residential address
-
employee_class:
VitableConnect::Types::EmployeeClassEmployment classification
Full Time- Full TimePart Time- Part TimeTemporary- TemporaryIntern- InternSeasonal- SeasonalIndividual Contractor- Individual Contractor
-
start_date:
String— Employment start date
-
compensation_type:
VitableConnect::Types::CompensationTypeEmployee compensation type
Salary- SalaryHourly- Hourly
-
effective_date:
String— Past or present date applied to each tracked employment field included in this request
-
request_options:
VitableConnect::Employees::RequestOptions
-
-
client.employees.list_enrollments(employee_id:) -> VitableConnect::Types::EnrollmentListResponse
-
-
-
Retrieves a paginated list of benefit enrollments for an employee.
-
-
-
client.employees.list_enrollments( employee_id: "empl_abc123def456", limit: 20, page: 1 )
-
-
-
employee_id:
String— Unique employee identifier (empl_*)
-
limit:
Integer— Items per page (default: 20, max: 100)
-
page:
Integer— Page number (default: 1)
-
request_options:
VitableConnect::Employees::RequestOptions
-
-
client.employers.list() -> VitableConnect::Types::OrganizationEmployerListResponse
-
-
-
Returns the caller's employer book — every employer with its computed columns (enrollment-rate summary, benefit-family tags, HRIS connection, benefit-lifecycle stage) merged with the employer's flat CRM fields (legal name, EIN, contact, address, timestamps). The book is derived from the authenticated principal: one organization's employers, or every organization's for a caller whose reach is not a single organization. Supports search by display name, legal name, or exact EIN, employer id or contact email, benefit-family/lifecycle/HRIS filters, and page/limit pagination.
-
-
-
client.employers.list( limit: 20, page: 1 )
-
-
-
benefit_family:
VitableConnect::Types::BenefitFamilyParamItem— Filter to employers with at least one active benefit in these families.
-
benefit_lifecycle_stage:
VitableConnect::Types::BenefitLifecycleStageItem— Filter to employers in one of these computed benefit-lifecycle stages.
-
hris_provider:
String— Filter to employers whose HRIS connection is with one of these payroll providers (e.g.ADP RUN). Matched case-insensitively; free text, so read the available values from the HRIS-providers endpoint rather than assuming a fixed set.
-
hris_status:
VitableConnect::Types::HrisStatusItem— Filter to employers whose HRIS connection is in one of these statuses.
-
include_cancelled:
Internal::Types::Boolean— Include cancelled employers (hidden by default unless their stage is explicitly requested).
-
limit:
Integer— Items per page.
-
page:
Integer— Page number.
-
search:
String— Employer filter. Matches the display name or the legal name case-insensitively as a substring, or one of these exactly: the EIN (with or without its dash), the employer id, or the contact email of one of the employer's non-disabled admins.
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.employers.create(request) -> VitableConnect::Types::EmployerResponse
-
-
-
Creates a new employer for the authenticated organization. Requires employer name, legal name, EIN, email, and address information. Returns the created employer with its assigned ID.
-
-
-
client.employers.create( name: "NewCo Industries", legal_name: "NewCo Industries LLC", ein: "12-3456789", email: "hr@newco.com", address: { address_line1: "789 Business Blvd", address_line2: "Floor 5", city: "Seattle", state: "WA", zipcode: "98101" }, phone_number: "2065550100", reference_id: "partner-emp-001" )
-
-
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
name:
String— Employer display name
-
legal_name:
String— Legal business name
-
ein:
String— Employer Identification Number (format: XX-XXXXXXX)
-
email:
String— Email address for billing and communications
-
address:
VitableConnect::Types::EmployerAddressInput— Employer address
-
phone_number:
String— Employer phone number (10-digit US format, e.g. 5551234567)
-
reference_id:
String— External reference ID for this employer
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.employers.get(employer_id:) -> VitableConnect::Types::EmployerResponse
-
-
-
Retrieves detailed information for a specific employer by ID. The employer must belong to the authenticated organization.
-
-
-
client.employers.get(employer_id: "empr_abc123def456")
-
-
-
employer_id:
String— Unique employer identifier (empr_*)
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.employers.update(employer_id:, request) -> VitableConnect::Types::EmployerResponse
-
-
-
Updates an existing employer. All fields are optional — only provided fields are updated. PO Box addresses are rejected.
-
-
-
client.employers.update(employer_id: "empr_abc123def456")
-
-
-
employer_id:
String— Unique employer identifier (empr_*)
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
name:
String— Employer display name
-
legal_name:
String— Legal business name
-
address:
VitableConnect::Types::UpdateEmployerAddressInput— Employer address
-
active:
Internal::Types::Boolean— Whether the employer is active
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.employers.list_benefit_plan_years(employer_id:) -> VitableConnect::Types::EmployerBenefitPlanYearsListResponse
-
-
-
Returns the employer's benefit plan years (all years, or one when
yearis given), each with its benefits, offered states, benefit families, and the year-level enrollment roll-up. The caller must be authorized for the employer; an unknown or unauthorized employer returns 404.
-
-
-
client.employers.list_benefit_plan_years(employer_id: "empr_abc123def456")
-
-
-
employer_id:
String— Unique employer identifier (empr_*)
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.employers.get_benefit_plan_year(employer_id:, benefit_plan_year_id:) -> VitableConnect::Types::EmployerBenefitPlanYearResponse
-
-
-
Returns one benefit plan year in full — its benefit details plus the per-benefit enrollment rate and SPD link — addressed by its
benefit_plan_year_id. The caller must be authorized for the employer; an unknown or unauthorized plan year returns 404.
-
-
-
client.employers.get_benefit_plan_year( employer_id: "empr_abc123def456", benefit_plan_year_id: "plyr_abc123def456" )
-
-
-
employer_id:
String— Unique employer identifier (empr_*)
-
benefit_plan_year_id:
String— Unique benefit-plan-year identifier (plyr_*).
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.employers.list_benefit_plan_year_enrollments(employer_id:, benefit_plan_year_id:) -> VitableConnect::Types::PlanYearEnrollmentListResponse
-
-
-
Returns a paginated list of every member with an enrollment in one of an employer's plan years, any election status: what they elected, where their coverage stands, dependent count, carrier, plan, tier, and the plan's total monthly cost. The caller must be authorized for the employer
empr_<...>; an unknown or unauthorized employer, or an unknown plan yearplyr_<...>, returns 404.
-
-
-
client.employers.list_benefit_plan_year_enrollments( employer_id: "empr_abc123def456", benefit_plan_year_id: "plyr_abc123def456", limit: 20, page: 1 )
-
-
-
employer_id:
String— Unique employer identifier (empr_*).
-
benefit_plan_year_id:
String— Unique benefit-plan-year identifier (plyr_*).
-
election_status:
VitableConnect::Types::ElectionStatusItem— Filter by election status. Repeat the parameter to match several.
-
limit:
Integer— Items per page (default: 20, max: 100)
-
page:
Integer— Page number (default: 1)
-
search:
String— Case-insensitive search. Matches member name partially, and themember_idexactly — either your own reference id or the prefixedgrpmbr_<...>id.
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.employers.submit_census_sync(employer_id:, request) -> VitableConnect::Types::CensusSyncDetailResponse
-
-
-
Submits a census sync payload for the specified employer. The employees in the payload will be queued for processing. Returns an accepted response with the timestamp of acceptance.
-
-
-
client.employers.submit_census_sync( employer_id: "empr_abc123def456", employees: [{ reference_id: "EMP-001", first_name: "Jane", last_name: "Doe", date_of_birth: "1990-05-15", email: "jane.doe@acme.com", phone: "4155550100", address: { address_line1: "123 Main Street", address_line2: "Apt 4B", city: "San Francisco", state: "CA", zipcode: "94102" }, start_date: "2024-01-15", employee_class: "Full Time", compensation_type: "Salary" }, { first_name: "John", last_name: "Smith", date_of_birth: "1985-11-20", email: "john.smith@acme.com", phone: "4155550101", start_date: "2024-03-01", employee_class: "Part Time", compensation_type: "Hourly" }] )
-
-
-
employer_id:
String— Unique employer identifier (empr_*)
-
employees:
Internal::Types::Array[VitableConnect::Types::CensusSyncEmployeeRequest]
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.employers.list_employees(employer_id:) -> VitableConnect::Types::EmployeeListResponse
-
-
-
Retrieves a paginated list of employees for a specific employer. The caller must be authorized for the employer; an unknown or unauthorized employer returns 404. Results are paginated using page and limit parameters and can be narrowed with a case-insensitive
search(first name, last name, or email) and anemployment_statusfilter (active or terminated). Each employee includes payroll deductions from the most recent statement period. When a new deduction statement is generated, previous period deductions are replaced.
-
-
-
client.employers.list_employees( employer_id: "empr_abc123def456", limit: 20, page: 1, search: "jane" )
-
-
-
employer_id:
String— Unique employer identifier (empr_*)
-
employment_status:
VitableConnect::Types::EmployeeStatus— Filter by employment status (active or terminated)
-
limit:
Integer— Items per page (default: 20, max: 100)
-
page:
Integer— Page number (default: 1)
-
search:
String— Case-insensitive search across employee first name, last name, and email
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.employers.get_hris(employer_id:) -> VitableConnect::Types::EmployerHrisResponse
-
-
-
Returns the employer's HRIS connection — provider, status, last sync, and synced row count — or null when the employer has no integration. The caller must be authorized for the employer; an unknown or unauthorized employer returns 404.
-
-
-
client.employers.get_hris(employer_id: "empr_abc123def456")
-
-
-
employer_id:
String— Unique employer identifier (empr_*)
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.employers.list_invoices(employer_id:) -> VitableConnect::Types::EmployerInvoicesListResponse
-
-
-
Returns a cursor-paginated page of the employer's billing invoices, newest first. Pass the
next_offsetfrom a previous page asoffsetto fetch the next page. The caller must be authorized for the employer; an unknown or unauthorized employer returns 404.
-
-
-
client.employers.list_invoices( employer_id: "empr_abc123def456", limit: 20 )
-
-
-
employer_id:
String— Unique employer identifier (empr_*)
-
limit:
Integer— Maximum number of invoices per page
-
offset:
String— Opaque cursor from a previous page's next_offset
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.employers.get_invoice_pdf(employer_id:, invoice_id:) -> VitableConnect::Types::EmployerInvoicePdfResponse
-
-
-
Returns the time-limited PDF download link for a single invoice belonging to the employer's billing customer.
invoice_idis the external Chargebee id (not a prefixed UUID). The caller must be authorized for the employer; an unknown or unauthorized employer or invoice returns 404.
-
-
-
client.employers.get_invoice_pdf( employer_id: "empr_abc123def456", invoice_id: "INV-00042" )
-
-
-
employer_id:
String— Unique employer identifier (empr_*)
-
invoice_id:
String— External Chargebee invoice id (not a prefixed UUID).
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.employers.get_payroll_access_setup(employer_id:) -> VitableConnect::Types::PayrollAccessSetupStatusResponse
-
-
-
Return whether the employer has submitted payroll access setup.
-
-
-
client.employers.get_payroll_access_setup(employer_id: "empr_abc123def456")
-
-
-
employer_id:
String
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.employers.submit_payroll_access_setup(employer_id:, request) -> VitableConnect::Types::PayrollAccessSetupStatusResponse
-
-
-
Submit the employer's payroll access setup answers.
-
-
-
client.employers.submit_payroll_access_setup( employer_id: "empr_abc123def456", employees_in_payroll_acknowledged: true, payroll_data_impacts_eligibility_acknowledged: true, classifications_accurate: true, all_benefit_eligible_employees_present: true, is_controlled_group: true, access_method: "SELF_SETUP", has_additional_payroll_system: true )
-
-
-
employer_id:
String
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
employees_in_payroll_acknowledged:
Internal::Types::Boolean— Attestation that all benefit-eligible employees appear in the payroll system.
-
payroll_data_impacts_eligibility_acknowledged:
Internal::Types::Boolean— Attestation that changes to payroll data affect benefit eligibility.
-
classifications_accurate:
Internal::Types::Boolean— Attestation that employee classifications in payroll are accurate. Setfalseto report corrections in the fields below.
-
classification_correction_source:
VitableConnect::Types::ClassificationCorrectionSource— Where corrected classifications come from, whenclassifications_accurateisfalse.
-
misclassified_employee_names:
Internal::Types::Array[String]— Names of employees whose payroll classification needs correcting.
-
remaining_employee_action:
VitableConnect::Types::RemainingEmployeeAction— How to handle employees still missing from the payroll system.
-
all_benefit_eligible_employees_present:
Internal::Types::Boolean— Attestation that every benefit-eligible employee is present in payroll.
-
missing_employee_resolution:
VitableConnect::Types::MissingEmployeeResolution— How any missing employees will be added, when some are absent.
-
is_controlled_group:
Internal::Types::Boolean— Whether this employer belongs to a controlled group of related entities.
-
same_payroll_covers_other_eins:
Internal::Types::Boolean— Whether this payroll system also covers other EINs in the controlled group.
-
access_method:
VitableConnect::Types::PayrollAccessMethod
-
login_url:
String— Sign-in URL for the payroll system.
-
username:
String— Username Vitable should use to access the payroll system.
-
phone:
String— Phone number used for payroll-system verification codes.
-
password:
String— Password Vitable should use to access the payroll system.
-
integration_confirmed:
Internal::Types::Boolean— Whether the payroll integration has been confirmed as working.
-
has_additional_payroll_system:
Internal::Types::Boolean— Whether a second payroll system is in use. Whentrue, supply theadditional_*fields below.
-
additional_access_method:
VitableConnect::Types::PayrollAccessMethod— How Vitable will access the second payroll system.
-
additional_login_url:
String— Sign-in URL for the second payroll system.
-
additional_username:
String— Username Vitable should use for the second payroll system.
-
additional_phone:
String— Phone number used for second payroll-system verification codes.
-
additional_password:
String— Password Vitable should use for the second payroll system.
-
additional_integration_confirmed:
Internal::Types::Boolean— Whether the second payroll integration has been confirmed as working.
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.employers.list_payroll_deduction_statements(employer_id:) -> VitableConnect::Types::EmployerPayrollDeductionStatementListResponse
-
-
-
Returns a paginated list of the employer's payroll-deduction statements, newest period first, each with its period, generation date, distinct employee count, total deduction, change-file link, and deduction frequency. Statements superseded by a later correction are excluded. The caller must be authorized for the employer; an unknown or unauthorized employer returns 404.
-
-
-
client.employers.list_payroll_deduction_statements( employer_id: "empr_abc123def456", limit: 20, page: 1 )
-
-
-
employer_id:
String— Unique employer identifier (empr_*)
-
limit:
Integer— Maximum number of statements per page
-
page:
Integer— Page number to retrieve (starts at 1)
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.employers.ensure_payroll_integration_email(employer_id:) -> VitableConnect::Types::PayrollIntegrationEmailResponse
-
-
-
Provision and return the employer's payroll integration email.
-
-
-
client.employers.ensure_payroll_integration_email(employer_id: "empr_abc123def456")
-
-
-
employer_id:
String
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.employers.update_settings(employer_id:, request) -> VitableConnect::Types::EmployerSettingsResponse
-
-
-
Updates configuration settings for a specific employer. The employer must belong to the authenticated organization.
-
-
-
client.employers.update_settings( employer_id: "empr_abc123def456", pay_frequency: "bi_weekly" )
-
-
-
employer_id:
String— Unique employer identifier (empr_*)
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
pay_frequency:
VitableConnect::Types::DeductionFrequency
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.employers.list_hris_providers() -> VitableConnect::Types::OrganizationHrisProvidersResponse
-
-
-
Returns the distinct HRIS/payroll providers across the same book
GET /v1/employersreturns, sorted for display. Use these as the values for the employers list'shris_providerfilter — filter onprovider, showprovider_label. The stored providers are free text, so they cannot be enumerated in advance.
-
-
-
client.employers.list_hris_providers
-
-
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Employers::RequestOptions
-
-
client.enrollments.get(enrollment_id:) -> VitableConnect::Types::EnrollmentResponse
-
-
-
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.
-
-
-
client.enrollments.get(enrollment_id: "enrl_AAAAAAAAAAAAAAAAAAAAAQ")
-
-
-
enrollment_id:
String— Unique enrollment identifier (enrl_*)
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Enrollments::RequestOptions
-
-
client.enrollments.reissue(enrollment_id:, request) -> VitableConnect::Types::ReissueEnrollmentResponse
-
-
-
Closes the targeted enrollment and creates a new unanswered enrollment for the same member and plan year. VPC never requires a qualifying life event; other products require an accepted, member-owned event outside open enrollment. User-backed callers must provide a reason; it is optional for organization API-key callers. Tenant mismatches return a non-disclosing 404 before the request body is validated.
-
-
-
client.enrollments.reissue( enrollment_id: "enrl_AAAAAAAAAAAAAAAAAAAAAQ", reason: "Member needs a new election after a qualifying event.", ticket_number: "BPT-1234", qualifying_life_event_id: "qle_AAAAAAAAAAAAAAAAAAAAAQ" )
-
-
-
enrollment_id:
String— Unique enrollment identifier (enrl_*)
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
reason:
String— Audit reason for the reissue; required for user-backed callers and optional for long-lived organization API-key callers
-
ticket_number:
String— Optional support or operational ticket number
-
qualifying_life_event_id:
String— Accepted member qualifying life event identifier (qle_*)
-
request_options:
VitableConnect::Enrollments::RequestOptions
-
-
client.enrollments.terminate(enrollment_id:, request) ->
-
-
-
Terminates enrolled coverage; it ends on the last day of the termination month, or on the termination date for VPC. An accepted qualifying life event owned by the enrollment member is required unless the plan is VPC or allowance-based (ICHRA, QSEHRA, or GCHRA). When the benefit requires an external plan, callers may pass the date the carrier policy actually ended, which can be in the past. User-backed callers must provide a reason; it is optional for organization API-key callers. API keys may act across the caller organization's book. Tenant mismatches return the same non-disclosing 404 before the request body is validated.
-
-
-
client.enrollments.terminate( enrollment_id: "enrl_AAAAAAAAAAAAAAAAAAAAAQ", reason: "Member requested coverage termination after a qualifying event.", ticket_number: "BPT-1234", qualifying_life_event_id: "qle_AAAAAAAAAAAAAAAAAAAAAQ" )
-
-
-
enrollment_id:
String— Unique enrollment identifier (enrl_*)
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
reason:
String— Audit reason for the termination; required for user-backed callers and optional for long-lived organization API-key callers
-
ticket_number:
String— Optional support or operational ticket number
-
qualifying_life_event_id:
String— Accepted member qualifying life event identifier (qle_*)
-
carrier_coverage_end_date:
String— Last day the carrier policy covered the member, when it ended before this termination. Accepted only for enrollments whose benefit requires an external plan (requires_external_planon the member enrollment row); coverage end is derived when omitted
-
request_options:
VitableConnect::Enrollments::RequestOptions
-
-
client.groups.list() -> VitableConnect::Types::GroupListResponse
-
-
-
Returns a paginated list of groups belonging to the authenticated organization.
-
-
-
client.groups.list( limit: 20, page: 1 )
-
-
-
limit:
Integer— Items per page (default: 20, max: 100)
-
page:
Integer— Page number (default: 1)
-
request_options:
VitableConnect::Groups::RequestOptions
-
-
client.groups.create(request) -> VitableConnect::Types::GroupResponse
-
-
-
Creates a new group scoped to the authenticated organization.
-
-
-
client.groups.create( name: "Tier 1", external_reference_id: "mol_seg_001" )
-
-
-
name:
String— Display name for the group.
-
external_reference_id:
String— Your own identifier for this group. Use it to correlate the group with a record in your system; it must be unique within your organization.
-
request_options:
VitableConnect::Groups::RequestOptions
-
-
client.groups.get(group_id:) -> VitableConnect::Types::GroupResponse
-
-
-
Retrieves a single group by its prefixed ID. Returns 404 if the group does not belong to the authenticated organization.
-
-
-
client.groups.get(group_id: "grp_abc123def456")
-
-
-
group_id:
String— Unique group identifier (grp_*)
-
request_options:
VitableConnect::Groups::RequestOptions
-
-
client.groups.update(group_id:, request) -> VitableConnect::Types::GroupResponse
-
-
-
Partially updates a group's name or external reference ID. Returns 404 if the group does not belong to the authenticated organization.
-
-
-
client.groups.update( group_id: "grp_abc123def456", name: "Tier 1 (renamed)", external_reference_id: "mol_seg_001_v2" )
-
-
-
group_id:
String— Unique group identifier (grp_*)
-
name:
String— New display name for the group. Omit to leave unchanged.
-
external_reference_id:
String— New external reference ID for the group. Omit to leave unchanged.
-
request_options:
VitableConnect::Groups::RequestOptions
-
-
client.members.get(member_id:) -> VitableConnect::Types::MemberResponse
-
-
-
Retrieves a member's profile by ID — identity, demographics, address (with county), contact details, tobacco status, marital status, individual and household income, and profile status. Access is scoped to the authenticated principal; a member not visible to the caller returns a 404.
-
-
-
client.members.get(member_id: "mbr_abc123def456")
-
-
-
member_id:
String— Unique member identifier (mbr_*)
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Members::RequestOptions
-
-
client.members.list_dependents(member_id:) -> VitableConnect::Types::MemberDependentsResponse
-
-
-
Lists a member's active legal dependents — name, relationship, date of birth, age, and sex at birth. Access is scoped to the authenticated principal; a member not visible to the caller returns a 404.
-
-
-
client.members.list_dependents(member_id: "mbr_abc123def456")
-
-
-
member_id:
String
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Members::RequestOptions
-
-
client.members.create_dependent(member_id:, request) -> VitableConnect::Types::SavedMemberDependentResponse
-
-
-
Saves a dependent (spouse or child) for a member. Saving does not enroll the dependent or change the member's coverage or coverage tier. If the member already has an active dependent matching this person, that relationship is reused and returned with a 200 and
created: false; otherwise a new one is created with a 201 andcreated: true. In both cases the dependent's address is set to the one supplied; other details of a person Vitable already has on file are not changed. When a new dependent is created at exactly the member's address, Vitable also adds them to the member's household where it can; this never fails the request. The returned IDs identify the saved dependent. Social Security numbers are not accepted, and a body with anssnfield returns a 400. The caller must have write access to the target member, and API access tokens cannot save dependents. A member not visible to the caller returns a 404 before the body is validated. Business-rule failures return a 422 withchild_over_max_age(a child must be under 26),duplicate_active_spouse(the member already has a different active spouse),same_member,member_creation_failed, orlegal_dependent_creation_failed.
-
-
-
client.members.create_dependent( member_id: "mbr_abc123def456", first_name: "Sam", last_name: "Doe", date_of_birth: "2015-06-01", sex_at_birth: "Male", relationship: "Child", address: { address_line1: "123 Main St", city: "Detroit", state: "MI", zipcode: "48201" } )
-
-
-
member_id:
String— Unique member identifier (mbr_*)
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
first_name:
String— Dependent's legal first name
-
last_name:
String— Dependent's legal last name
-
suffix:
VitableConnect::Types::NameSuffixName suffix
Sr- SrJr- JrI- III- IIIII- IIIIV- IVV- V
-
date_of_birth:
String— Date of birth (YYYY-MM-DD); cannot be in the future
-
sex_at_birth:
VitableConnect::Types::SexAtBirthSex assigned at birth
Male- MaleFemale- FemaleOther- OtherUnknown- Unknown
-
gender:
VitableConnect::Types::GenderGender identity
Male- MaleFemale- FemaleTransgender- TransgenderNon-binary- Non-binaryPrefer not to respond- Prefer not to respond
-
email:
String— Dependent's email address. Ignored for dependents under 18, and not changed for a dependent Vitable already has on file.
-
phone:
String— Dependent's 10-digit US phone number; formatting characters and a leading 1 are ignored. Ignored for dependents under 18, and not changed for a dependent Vitable already has on file.
-
relationship:
VitableConnect::Types::RelationshipRelationship of the dependent to the member
Spouse- SpouseChild- Child
-
address:
VitableConnect::Types::CreateMemberDependentAddressRequest— Dependent's residential address
-
request_options:
VitableConnect::Members::RequestOptions
-
-
client.members.list_employments(member_id:) -> VitableConnect::Types::MemberEmploymentsResponse
-
-
-
Lists a member's employment across every employer — the same employee record shape as the employer's employees list, plus the employer name. For an organization caller the rows are scoped to companies in that organization's book; a member (self/household) or Vitable Admin sees all employments. A member not visible to the caller returns a 404.
-
-
-
client.members.list_employments(member_id: "mbr_abc123def456")
-
-
-
member_id:
String
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Members::RequestOptions
-
-
client.members.list_enrollments(member_id:) -> VitableConnect::Types::MemberEnrollmentsResponse
-
-
-
Lists a member's benefit enrollments across every employer — benefit type and product, employer, carrier, plan, tier, employee deduction, employer contribution and total premium, the individual enrollment coverage boundary (
coverage_end), the separate pre-effective cancellation boundary (cancelled_date), and the distinct benefit plan-year boundary (plan_year_coverage_end) used to determine whether the plan year itself has ended, the date the enrollment record was created (issued_date, the value Ops labels Issued on, reported for every row whatever the member answered), the window the member could answer in -- which never opens before the enrollment was issued, so a row issued mid-open-enrollment starts its window on its issue date -- whether a qualifying life event would currently be required for reissue under the product/open-enrollment rule, enrollment/open-enrollment window, and two statuses:election_status(what the member answered) andpolicy_status(what became of their coverage, null unless they enrolled). Every row includes a stable enrollment ID and the exact employer and benefit plan-year IDs used to fetch that row's plan-year detail. The full list is returned across all states so the client derives active plans (effective and upcoming) and the enrollment history from those per-row statuses. For an organization caller the rows are scoped to companies in that organization's book; a member (self/household) or Vitable Admin sees all enrollments. A member not visible to the caller returns a 404.
-
-
-
client.members.list_enrollments(member_id: "mbr_abc123def456")
-
-
-
member_id:
String
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Members::RequestOptions
-
-
client.members.get_household(member_id:) -> VitableConnect::Types::HouseholdMembersResponse
-
-
-
Lists a member's household as a per-participant table — the account holder plus each active household member, with name, relationship, member type, date of birth, and household-admin flag. Access is scoped to the authenticated principal; a member not visible to the caller (or with no household) returns a 404.
-
-
-
client.members.get_household(member_id: "mbr_abc123def456")
-
-
-
member_id:
String
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Members::RequestOptions
-
-
client.members.list_id_cards(member_id:) -> VitableConnect::Types::MemberDigitalBenefitCardsResponse
-
-
-
Lists a member's benefit ID cards — card type (medical, dental, vision, or rx), employer, plan, provider network, claims payer, carrier contact details, and the disclaimers printed on the card. Medical, dental and vision cards come from the member's active digital benefit cards; the rx card from the member's Ventegra pharmacy benefit (omitted when the member has no free-medication coverage), which carries no plan, network, or carrier details. Access is scoped to the authenticated principal, and an organization caller sees only cards from employers in its book; a member not visible to the caller returns a 404.
-
-
-
client.members.list_id_cards(member_id: "mbr_abc123def456")
-
-
-
member_id:
String
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Members::RequestOptions
-
-
client.members.list_qualifying_life_events(member_id:) -> VitableConnect::Types::MemberQualifyingLifeEventListResponse
-
-
-
Lists a member's qualifying life events, including events already used for another enrollment. Returns all statuses by default; pass the status query param to filter to one (e.g. approved). Events are ordered newest submission first with stable paging. Custom text is present only when submitted and is otherwise null. A member not visible to the caller returns a 404. API keys and unbound access tokens have organization-wide access. Employer-bound tokens require employment at the bound employer, and employee-bound tokens require the exact employee-member relationship. Organization or scope mismatches return a 404 before pagination is validated.
-
-
-
client.members.list_qualifying_life_events( member_id: "mbr_abc123def456", limit: 20, page: 1 )
-
-
-
member_id:
String— Unique member identifier (mbr_*)
-
limit:
Integer— Items per page (default: 20, max: 100)
-
page:
Integer— Page number (default: 1)
-
status:
VitableConnect::Types::Status— Optional. Filter to a single QLE status; omit to return all statuses.
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Members::RequestOptions
-
-
client.members.list() -> VitableConnect::Types::MemberListResponse
-
-
-
Retrieves a paginated list of the members in the authenticated organization's book — identity, contact details, and address. The book covers members reached through an employer in the organization's book as well as members of a group it owns. Supports free-text search (name, email, phone number, or exact member id).
-
-
-
client.members.list( limit: 20, page: 1 )
-
-
-
limit:
Integer— Items per page (default: 20, max: 100)
-
page:
Integer— Page number (default: 1)
-
search:
String— Case-insensitive search across member name, email, and phone number; exact match on member id (prefixed or raw uuid)
-
vitable_organization:
String— Organization to act as for this request (e.g.org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400organization_required. A malformed value returns 400invalid_organization_header, and naming an organization you do not have access to returns 403organization_access_denied.
-
request_options:
VitableConnect::Members::RequestOptions
-
-
client.organizations.list() -> VitableConnect::Types::OrganizationsListResponse
-
-
-
Lists the organizations the authenticated caller is an active member of (paginated), each with the role the caller holds in it. Returns an empty list when the caller belongs to no organizations.
-
-
-
client.organizations.list
-
-
-
request_options:
VitableConnect::Organizations::RequestOptions
-
-
client.plans.list() -> VitableConnect::Types::PlanListResponse
-
-
-
Returns a paginated list of benefit plans linked to the authenticated organization.
-
-
-
client.plans.list( limit: 20, page: 1 )
-
-
-
limit:
Integer— Items per page (default: 20, max: 100)
-
page:
Integer— Page number (default: 1)
-
request_options:
VitableConnect::Plans::RequestOptions
-
-
client.webhook_events.list() -> VitableConnect::Types::WebhookEventListResponse
-
-
-
Retrieves a paginated list of webhook events for the authenticated organization. Supports filtering by event name, resource type, resource ID, and date range.
-
-
-
client.webhook_events.list( limit: 20, page: 1 )
-
-
-
created_after:
String
-
created_before:
String
-
event_name:
VitableConnect::Types::EventNameenrollment.accepted- Enrollment Acceptedenrollment.terminated- Enrollment Terminatedenrollment.termination_rescheduled- Enrollment Termination Rescheduledenrollment.elected- Enrollment Electedenrollment.granted- Enrollment Grantedenrollment.waived- Enrollment Waivedenrollment.started- Enrollment Startedemployee.eligibility_granted- Employee Eligibility Grantedemployee.eligibility_terminated- Employee Eligibility Terminatedemployee.deactivated- Employee Deactivatedemployee.deduction_created- Employee Deduction Created
-
limit:
Integer
-
page:
Integer
-
resource_id:
String
-
resource_type:
VitableConnect::Types::ResourceTypeenrollment- Enrollmentemployee- Employeeemployer- Employerdependent- Dependentplan_year- Plan Yearpayroll_deduction- Payroll Deduction
-
request_options:
VitableConnect::WebhookEvents::RequestOptions
-
-
client.webhook_events.get(event_id:) -> VitableConnect::Types::WebhookEventResponse
-
-
-
Retrieves a single webhook event by its prefixed ID. Returns 404 if the event does not exist or belongs to a different organization.
-
-
-
client.webhook_events.get(event_id: "event_id")
-
-
-
event_id:
String
-
request_options:
VitableConnect::WebhookEvents::RequestOptions
-
-
client.webhook_events.list_deliveries(event_id:) -> VitableConnect::Types::ListWebhookEventDeliveriesResponse
-
-
-
Retrieves all delivery attempts for a webhook event. Returns up to 100 deliveries. Each delivery includes a computed status field (Pending, In Progress, Delivered, or Failed).
-
-
-
client.webhook_events.list_deliveries(event_id: "event_id")
-
-
-
event_id:
String
-
request_options:
VitableConnect::WebhookEvents::RequestOptions
-
-
client.groups.members.sync.submit(group_id:, request) -> VitableConnect::Types::GroupMemberSyncDetailResponse
-
-
-
Submits a member sync payload for the specified group. Members in the payload will be queued for processing asynchronously. Returns HTTP 202 with the batch ID and acceptance timestamp.
-
-
-
client.groups.members.sync.submit( group_id: "grp_abc123def456", members: [{ reference_id: "EMP-001", first_name: "Jane", last_name: "Doe", date_of_birth: "1990-05-15", phone: "4155550100", plan_id: "pln_abc123def456", address: { address_line1: "123 Main Street", address_line2: "Apt 4B", city: "San Francisco", state: "CA", zipcode: "94102" }, email: "jane.doe@acme.com" }] )
-
-
-
group_id:
String
-
members:
Internal::Types::Array[VitableConnect::Types::GroupMemberSyncMemberRequest]
-
request_options:
VitableConnect::Groups::Members::Sync::RequestOptions
-
-
client.groups.members.sync.get(group_id:, request_id:) -> VitableConnect::Types::GroupMemberSyncRequestDetailResponse
-
-
-
Retrieves a previously-submitted group member sync request by its
grpmsr_ID. Returns the acceptance timestamp, completion timestamp (if processing has finished), and the per-memberresultsonce available. While processing is in flight,completed_atandresultsarenull.
-
-
-
client.groups.members.sync.get( group_id: "grp_abc123def456", request_id: "request_id" )
-
-
-
group_id:
String
-
request_id:
String
-
request_options:
VitableConnect::Groups::Members::Sync::RequestOptions
-
-