health
- base
- localhost
- dev
- prod
/v2/private/engine/health
http://localhost:1350/v2/private/engine/health
https://dev.everdays.com/v2/private/engine/health
https://everdays.com/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​
| Param | Type | Description |
|---|---|---|
| seriousIllness | Boolean | If the user has a serious illness |
| inCare | Boolean | If the user is in care |
| practiceSelfCare | Boolean | If the user practices self care |
| smoker | Boolean | If the user is a smoker |
| sleepWell | Boolean | If the user sleeps well |
| staySafe | Boolean | If the user is into adventurous activities |
| drinker | Boolean | If the user is a drinker |
| exerciser | Boolean | If the user exercises |
| height | Number | The user's height |
| weight | Number | The user's weight |
| bmi | Number | The 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.