Create employee
Adds an employee to an employer. The caller must be authorized for the employer; an unknown or unauthorized employer returns 404, and so do credentials scoped to a single employee. A person who already exists in Vitable is linked to the employer rather than duplicated. Eligibility and enrollment are not immediate: they are recalculated periodically and can take a few hours to reflect a new employee.
409 app_error_code values: employer_has_hris_connection (an active, pending or inactive HRIS connection manages this roster; paused connections do not block), employer_has_no_active_subscription, and employee_already_exists (the person is already on this employer’s roster, including former employees).
422 app_error_code values: email_taken (the email belongs to another person’s Vitable account) and invalid_account_update (another account detail, such as the phone, belongs to another person).
400 is returned for malformed input and for data the employee record rejects (invalid_employee_update, the same code PATCH uses), such as an employee under 18 or a start date after today in US Eastern time.
Authentication
API Key or Access Token authentication using Bearer token in Authorization header. API keys use the vit_apk_ prefix, access tokens use the vit_at_ prefix.
Path parameters
Unique employer identifier (empr_*)
Headers
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 400 organization_required. A malformed value returns 400 invalid_organization_header, and naming an organization you do not have access to returns 403 organization_access_denied.
Request
Date of birth; the employee must be at least 18
Employment classification
Full Time- Full TimePart Time- Part TimeTemporary- TemporaryIntern- InternSeasonal- SeasonalIndividual Contractor- Individual Contractor
Employee compensation type
Salary- SalaryHourly- Hourly
Employment start date; must be on or before today in US Eastern time
Preferred language code
en- Englishes- Spanishzh- Chineseru- Russiansw- Swahilith- Thai
Name suffix
Sr- SrJr- JrI- III- IIIII- IIIIV- IVV- V
Sex assigned at birth
Male- MaleFemale- FemaleOther- OtherUnknown- Unknown
10-digit US phone number; formatting characters and a leading 1 are ignored. Optional, as in the census sync, because partners do not always hold a phone for every employee.
Response headers
Unix timestamp (seconds) when the rate limit window resets

