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": "[email protected]", "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>", "country": "<string>", "zip": "<string>", "city": "<string>", "state": "<string>", "second_line": "" }, "dob": "2023-12-25", "email": "<string>", "phone_number": "<string>" }, "company": { "name": "<string>", "address": { "first_line": "<string>", "country": "<string>", "zip": "<string>", "city": "<string>", "state": "<string>", "second_line": "" } }, "group_id": "<string>", "guarantor": { "first_name": "<string>", "last_name": "<string>", "address": { "first_line": "<string>", "country": "<string>", "zip": "<string>", "city": "<string>", "state": "<string>", "second_line": "" }, "phone_number": "<string>", "household_income": 123, "household_size": 123, "email": "<string>" }, "is_primary": true }
first_name
last_name
Vital Team API Key
ℹ️ This enum is non-exhaustive.
Self
Spouse
Other
Show child attributes
Successful Response
Was this page helpful?