How to adjust user gamification points via our API

POST {OrgId}/players/{UserId}/action

Post body:

{
"Points": integer, // required: amount to adjust points by
“ActionType”: “”, // required: send as empty string
“ActionSource”: “Manual” // required: must be set to “Manual”
}

 To find your spinify user id's make a get users request

GET /users

Response body:

[
{
"Id": "1234abcd1234abcd", // spinify user id
"FirstName": "John",
"LastName": "Smith",
"Email": "john@example.com",
"License": "Player",
"Timezone": "Australia/Sydney",
"Birthday": "1970-01-16T13:00:00.000Z"
... // Additional fields
},
{
.... // Additional Users
}
]
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.