User Management
Create Insurance
User Management
Vital Mobile SDK Integration
Device Connections
Link
User Management
Create Insurance
POST
/
v2
/
user
/
{user_id}
/
insurance
curl --request POST \
--url {{BASE_URL}}/v2/user/{user_id}/insurance \
--header 'Accept: application/json' \
--header 'x-vital-api-key: <API_KEY>' \
--header 'Content-Type: application/json' \
--data '
{
"payor_code": "UNITE",
"member_id": "test",
"group_id": "123",
"relationship": "Self",
"insured": {
"first_name": "John",
"last_name": "Doe",
"email": "john@email.com",
"phone_number":"+1123123123",
"gender": "Male",
"dob": "1999-01-01",
"address": {
"first_line": "Some Street",
"second_line": null,
"zip_code": "85004",
"state": "AZ",
"city": "Phoenix",
}
}
}
'
{
"member_id": "<string>",
"payor_code": "<string>",
"relationship": "Self",
"insured": {
"first_name": "<string>",
"last_name": "<string>",
"gender": "female",
"address": {
"first_line": "<string>",
"second_line": "<string>",
"country": "<string>",
"zip": "<string>",
"city": "<string>",
"state": "<string>"
},
"dob": "2023-12-25",
"email": "<string>",
"phone_number": "<string>"
},
"company": {
"name": "<string>",
"address": {
"first_line": "<string>",
"second_line": "<string>",
"country": "<string>",
"zip": "<string>",
"city": "<string>",
"state": "<string>"
}
},
"group_id": "<string>",
"guarantor": {
"first_name": "<string>",
"last_name": "<string>",
"address": {
"first_line": "<string>",
"second_line": "<string>",
"country": "<string>",
"zip": "<string>",
"city": "<string>",
"state": "<string>"
},
"phone_number": "<string>",
"email": "<string>"
}
}
curl --request POST \
--url {{BASE_URL}}/v2/user/{user_id}/insurance \
--header 'Accept: application/json' \
--header 'x-vital-api-key: <API_KEY>' \
--header 'Content-Type: application/json' \
--data '
{
"payor_code": "UNITE",
"member_id": "test",
"group_id": "123",
"relationship": "Self",
"insured": {
"first_name": "John",
"last_name": "Doe",
"email": "john@email.com",
"phone_number":"+1123123123",
"gender": "Male",
"dob": "1999-01-01",
"address": {
"first_line": "Some Street",
"second_line": null,
"zip_code": "85004",
"state": "AZ",
"city": "Phoenix",
}
}
}
'
Authorizations
Vital Team API Key
Path Parameters
Body
application/json
Available options:
Self
, Spouse
, Other
Available options:
female
, male
, other
, unknown
Response
200
application/json
Successful Response
Available options:
Self
, Spouse
, Other
Available options:
female
, male
, other
, unknown
curl --request POST \
--url {{BASE_URL}}/v2/user/{user_id}/insurance \
--header 'Accept: application/json' \
--header 'x-vital-api-key: <API_KEY>' \
--header 'Content-Type: application/json' \
--data '
{
"payor_code": "UNITE",
"member_id": "test",
"group_id": "123",
"relationship": "Self",
"insured": {
"first_name": "John",
"last_name": "Doe",
"email": "john@email.com",
"phone_number":"+1123123123",
"gender": "Male",
"dob": "1999-01-01",
"address": {
"first_line": "Some Street",
"second_line": null,
"zip_code": "85004",
"state": "AZ",
"city": "Phoenix",
}
}
}
'
{
"member_id": "<string>",
"payor_code": "<string>",
"relationship": "Self",
"insured": {
"first_name": "<string>",
"last_name": "<string>",
"gender": "female",
"address": {
"first_line": "<string>",
"second_line": "<string>",
"country": "<string>",
"zip": "<string>",
"city": "<string>",
"state": "<string>"
},
"dob": "2023-12-25",
"email": "<string>",
"phone_number": "<string>"
},
"company": {
"name": "<string>",
"address": {
"first_line": "<string>",
"second_line": "<string>",
"country": "<string>",
"zip": "<string>",
"city": "<string>",
"state": "<string>"
}
},
"group_id": "<string>",
"guarantor": {
"first_name": "<string>",
"last_name": "<string>",
"address": {
"first_line": "<string>",
"second_line": "<string>",
"country": "<string>",
"zip": "<string>",
"city": "<string>",
"state": "<string>"
},
"phone_number": "<string>",
"email": "<string>"
}
}