cURL
curl --request GET \ --url https://api.dontdie.com/user-profile/{userId}/score-v2 \ --header 'Authorization: Bearer <token>' \ --header 'x-dd-client-id: <api-key>'
{ "score": { "id": "1234567890", "points": 100, "scoreDate": "2021-01-01", "updatedAt": "2021-01-01", "hoursSlept": 8, "steps": 10000, "caloriesBurned": 1000 }, "scoreComponents": [ { "id": "1234567890", "componentId": "1234567890", "wearableProvider": "GARMIN", "points": 100, "value": 100, "updatedAt": "2021-01-01", "createdAt": "2021-01-01" } ] }
Gets the Don’t Die Score for a given user
Enter your Bearer token in the format: Bearer
Your API client ID for the request
The ID of the user to get the score for
The date to get the score for
OK
The score of the user
Show child attributes
Was this page helpful?