Skip to main content

details

/v2/private/healthAndCare/details

Available Methods​

  • POST

POST /v2/private/healthAndCare/details​

Saves user's name and email information and updates a detailsConfirmed flag

Params​

ParamTypeDescription
name{ first: String, last: String }The user's name
emailStringThe user's email address
Example request body
body: {
name: {
first: 'Thomas',
last: 'Anderson'
},
email: 'neo@protonmail.com'
}

Returns​

The entire user object, with user.name and user.email updated, and healthAndCare updated with lastScreen and detailsConfirmed.

Example return object of just user.healthAndCare
user: {
name: ...,
email: ...,
healthAndCare: {
...,
lastScreen: {
screen: "details",
date: "2022-03-22T19:07:00.892Z"
},
detailsConfirmed: true
}
}
info

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