cURL
curl --request GET \ --url https://api.dontdie.com/user-profile/{userId}/scores \ --header 'Authorization: Bearer <token>' \ --header 'x-dd-client-id: <api-key>'
[ { "id": "1234567890", "points": 100, "scoreDate": "2021-01-01", "updatedAt": "2021-01-01" } ]
Lists the scores 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 scores for
The limit of the scores to return
OK
The ID of the score
"1234567890"
The points of the score
100
The date of the score
"2021-01-01"
The date the score was updated
Was this page helpful?