Skip to main content

health

/v2/private/engine/health

Available Methods​

  • POST

POST /v2/private/engine/health​

This endpoint is used to save information on basics step in the engine flow.

Params​

ParamTypeDescription
seriousIllnessBooleanIf the user has a serious illness
inCareBooleanIf the user is in care
practiceSelfCareBooleanIf the user practices self care
smokerBooleanIf the user is a smoker
sleepWellBooleanIf the user sleeps well
staySafeBooleanIf the user is into adventurous activities
drinkerBooleanIf the user is a drinker
exerciserBooleanIf the user exercises
heightNumberThe user's height
weightNumberThe user's weight
bmiNumberThe user's BMI
Example request body
body: {
"seriousIllness": false,
"inCare": false,
"practiceSelfCare": true,
"smoker": false,
"sleepWell": false,
"staySafe": true,
"drinker": true,
"exerciser": true,
"height": 72,
"weight": 177,
"bmi": 24
}

Returns​

The entire user object.

Example return object of just user.insurance
user: {
insurance: {
lostInsurance: {
other: [],
dental: false,
health: false,
life: true,
vision: true
},
finances: {
monthlyAllowance: 100,
monthlyExpenses: 100,
totalAssets: 10000
},
health: {
bmi: 24,
drinker: true,
exerciser: true,
height: 72,
inCare: false,
practiceSelfCare: true,
seriousIllness: false,
sleepWell: false,
staySafe: true,
smoker: false,
weight: 177
},
objectives: {
coverCareCosts: 1,
coverFinalExpenses: 3,
coveragePermanence: 2,
enoughIncomeToRetire: 6,
policySize: 3,
settlePosthumousBills: 5,
willingnessToAnswerMoreQuestions: false
}
}
}
info

For more detailed information about each value in insurance, please refer to the user model docs.