Skip to content
English
  • There are no suggestions because the search field is empty.

How to Adjust User Gamification Points via the Spinify API

Follow the instructions below to adjust Gamification points via the Spinify API:

Base url: https://api.spinify.com/v1/{OrgId}

Authorization

All requests require the below header,

Authorization: {ApiKey}

ApiKey can be obtained from MySpinify

  1. Log into my.spinify.com
  2. Click on your user in the top right hand corner
  3. Click on Settings
  4. Click on cog in the top right corner of the API integration
    1. If not already connected, click on the Connect button

POST /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 IDs, 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
}
]

If you still need help, then please feel free to click the “💬 Help” icon on the bottom right of this page. Our Customer Success Team will be more than happy to assist!