Create employer
/v1/employers
Creates a new employer for the authenticated organization. Requires employer name, legal name, EIN, and address information. Returns the created employer with its assigned ID.
Body Parameters
ein: string
Employer Identification Number (format: XX-XXXXXXX or XXXXXXXXX)
maxLength10
minLength9
legal_name: string
Legal business name
maxLength255
minLength1
name: string
Employer display name
maxLength255
minLength1
Returns
Create employer
curl https://api.vitablehealth.com/v1/employers \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $VITABLE_connect_API_API_KEY" \
-d '{
"address": {
"city": "city",
"state": "xx",
"street_1": "street_1",
"zip_code": "zip_code"
},
"ein": "xxxxxxxxx",
"legal_name": "x",
"name": "x"
}'
{
"id": "id",
"active": true,
"created_at": "2019-12-27T18:11:19.117Z",
"legal_name": "legal_name",
"name": "name",
"organization_id": "organization_id",
"updated_at": "2019-12-27T18:11:19.117Z",
"address": {
"city": "city",
"state": "state",
"street_1": "street_1",
"zip_code": "zip_code",
"country": "country",
"street_2": "street_2"
},
"ein": "ein",
"eligibility_policy_id": "eligibility_policy_id"
}
Returns Examples
{
"id": "id",
"active": true,
"created_at": "2019-12-27T18:11:19.117Z",
"legal_name": "legal_name",
"name": "name",
"organization_id": "organization_id",
"updated_at": "2019-12-27T18:11:19.117Z",
"address": {
"city": "city",
"state": "state",
"street_1": "street_1",
"zip_code": "zip_code",
"country": "country",
"street_2": "street_2"
},
"ein": "ein",
"eligibility_policy_id": "eligibility_policy_id"
}