cURL
curl --request GET \ --url https://om-staging.mylifeforce.com/api/m2m/patient/{patientId}/lifescore \ --header 'Authorization: Bearer <token>'
{ "id": "99c008ca-6f2f-4629-a409-95976a9fa8b0", "created_at": "2024-07-12T04:20:52.481Z", "pillars": [ 37, 24.8, 0 ], "vitality_index": 0.74, "cardiovascular_risk": 0.47, "cancer_risk": 0.2, "metabolic_risk": 0.47, "dementia_risk": 0.47, "osteoporosis_risk": 0.2, "biological_age": 38.47, "total_score": 61.8 }
Get latest lifescore
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The id of the patient in question
"29ea9012-c622-4851-a57a-9327abd21198"
Returns lifescore
The response is of type object.
object