You need a Spotify account to create apps. Free accounts work, but some API features require Spotify Premium.
Create a Spotify app
Register a new application in the Spotify Developer Dashboard to obtain your Client ID and Client Secret.
Create your application
Click Create app and fill in the application details.
- App name: choose a descriptive name.
- App description: a brief purpose of your app.
- Website: optional.
- Redirect URI:
https://api.stackone.com/connect/oauth2/spotify/callback - Under Which API/SDKs are you planning to use?, check Web API.
- Accept the Terms of Service and click Save.
Retrieve your credentials
Open the new app from the dashboard and click Settings to view its OAuth credentials.
- Copy the Client ID displayed on the page.
- Click View client secret to reveal and copy the Client Secret.
- Store both values securely for use later.
Spotify uses OAuth scopes to control which Web API features your app can access. Scopes are requested during the authorization flow based on your selection here.
Select OAuth scopes
Enables actions: Add Item To Playback Queue, Add Items To Playlist, Change Playlist Details, Check User’s Saved Items, Create Playlist, Get Available Devices, Get Current User Profile, Get Current User’s Playlists, Get Currently Playing Track, Get Episode, Get Followed Artists, Get Playback State, Get Playlist Items, Get Recently Played Tracks, Get Show, Get Show Episodes, Get The User’s Queue, Get User’s Saved Albums, Get User’s Saved Audiobooks, Get User’s Saved Episodes, Get User’s Saved Shows, Get User’s Saved Tracks, Get User’s Top Artists And Tracks, Pause Playback, Remove Items From Library, Remove Playlist Items, Reorder Or Replace Playlist Items, Save Library Items, Seek To Position, Set Playback Volume, Set Repeat Mode, Skip To Next Track, Skip To Previous Track, Start/Resume Playback, Toggle Playback Shuffle, Transfer Playback
Choose which scopes to request during the OAuth flow based on the actions you need. If left blank, all scopes will be requested by default.
Creating the StackOne Connector Profile
To create the Connector Profile in StackOne for Spotify:
Navigate to Connector Profiles
Create New Connector Profile
- Click + Connector Profile
- Search for and select Spotify
- Select Type as OAuth 2.0
- Fill out the fields using details retrieved from your provider:
- Client ID
- Client Secret
- OAuth Scopes (Optional)
- (Optional) Select Actions to be enabled for this Connector Profile
- Click Create profile
Congratulations! The new Connector Profile will now show up in your project ready to be used. You can now continue to Link Accounts for Spotify.