Announcements

Help Wizard

Step 1

NEXT STEP

Spotify for Developers

Discuss building apps with Spotify APIs and SDKs

Start a topic

Refresh token expiration: discussion thread

Hey everyone, I've created this thread to provide more insight on an upcoming change to how refresh tokens work for apps on the Spotify Web API. We've shared a blog post that explains what's changing and why. The short version: refresh tokens will no...

Spotify

thomk

Casual Listener

2455 Views

11 replies

2 likes

Discussion
  • 2455 Views
  • 11 replies
  • 2 likes

February 2026 Spotify for Developers update: thread

Hey everyone, I’ve created this thread to provide an open space for discussion, feedback, concerns or ideas on an upcoming update to Spotify for Developers access. We’ve shared a blog post that explains what’s changing and why. Please use this thread...

Spotify

musicD4RKH3LM3T

Regular

101300 Views

355 replies

32 likes

S4D
  • 101300 Views
  • 355 replies
  • 32 likes

Access token missing in SceneDelegate callback

Plan:PremiumCountry:USA DeviceiPhone 7Operating System iOS 13.4.1 I've been working on changing my test app to use token swap. I modeled the client after the example here: (https://github.com/spotify/ios-sdk/tree/master/DemoProjects/SPTLoginSampleApp...

Newbie

  Plan: Premium Country: USA   Device iPhone 7 Operating System     iOS 13.4.1   I've been working on changing my test app to use token swap. I modeled the clien...

Peter_Schorn

Roadie

2120 Views

4 replies

0 likes

  • 2120 Views
  • 4 replies
  • 0 likes

Make Spotify Web Player Emit Device ID After Connecting

Hey! Is there any way to make a web player emit the device ID after calling the player.connect() function again? Sometimes, when the player disconnects for any reason, you need to invoke this function, but the device ID of the player changes. Thanks!

Casual Listener

Hey!   Is there any way to make a web player emit the device ID after calling the player.connect() function again?   Sometimes, when the player disconnects for any reason, you need to i...

395 Views

0 replies

0 likes

Discussion
  • 395 Views
  • 0 replies
  • 0 likes

Looking for website embed feature

I want to add Spotify to the webpage and link it to a specific playlist of podcasts relevant to website services. Is there any code I can insert into my webpage? If there is a way, please suggest a way to implement it. Looking for help in this regard...

Visitor

I want to add Spotify to the webpage and link it to a specific playlist of podcasts relevant to website services. Is there any code I can insert into my webpage? If there is a way, please suggest a w...

474 Views

0 replies

0 likes

embed
  • 474 Views
  • 0 replies
  • 0 likes

Solved!! Beginner Project

Hi there,I’m currently wanting to build a website that matches users with songs based on a “music personality test” that asks questions similar to the Spotify’s song features they add to tracks (like danceability and acousticness) to then search the ...

Casual Listener

Hi there, I’m currently wanting to build a website that matches users with songs based on a “music personality test” that asks questions similar to the Spotify’s song features they add to tracks (li...

nathanbobell

Casual Listener

1183 Views

2 replies

1 likes

  • 1183 Views
  • 2 replies
  • 1 likes

Superuser Contribution Autorize enpoint not working

Hello, I am trying to use the spotify public aPI, and for this I am trying to generate a token according to this documentation: https://developer.spotify.com/documentation/general/guides/authorization/code-flow/ The problem is that whenever I try to ...

Casual Listener

Hello,   I am trying to use the spotify public aPI, and for this I am trying to generate a token according to this documentation:   https://developer.spotify.com/documentation/general/g...

spotifyjosh

Spotify

1198 Views

2 replies

0 likes

authorize
  • 1198 Views
  • 2 replies
  • 0 likes

Is there a way to terminate the player when our app closes.

Hello! We have an app that used the old Spotify SDK to stream music. We are now migrating to the new SDK, but we have not been able to find a way to terminate the Spotify player when the app closes. Instead users need to close our app, and then close...

Casual Listener

Hello!   We have an app that used the old Spotify SDK to stream music.   We are now migrating to the new SDK, but we have not been able to find a way to terminate the Spotify player whe...

510 Views

0 replies

0 likes

close
Close App
SDK
Streaming SDK
  • 510 Views
  • 0 replies
  • 0 likes

Add a search Music Page inside my website

Country United States of America I love Spotify and I like doing this via Spotify My Question I'm a Dj and I try to build a page on my website for my clients so:1- They can search for a favorite Music and Add Music to the playlist of their Events on ...

Visitor

Country United States of America    I love Spotify and I like doing this via Spotify  My Question   I'm a Dj and I try to build a page on my website for my clients so: 1- Th...

447 Views

0 replies

0 likes

HTML
  • 447 Views
  • 0 replies
  • 0 likes

Solved!! share a playlist with other spotify users?

PlanFree/PremiumCountry Device(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)Operating System(iOS 10, Android Oreo, Windows 10,etc.) My Question or Issue

Visitor

Plan Free/Premium Country   Device (iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016) Operating System (iOS 10, Android Oreo, Windows 10,etc.)   My Question or Issue  

Ximzend

Spotify Star

638 Views

1 replies

0 likes

  • 638 Views
  • 1 replies
  • 0 likes

Ads API create/update campaign

Hi Team,I am developer I can able to push the campaign into Spotify ad-studio using campaign ads api, But I wish I could do this for An artist's music on Spotify instead of A concert or artist merch, This is possible in Adstudio UI, because in ads ap...

Newbie

Hi Team, I am developer I can able to push the campaign into Spotify ad-studio using campaign ads api, But I wish I could do this for An artist's music on Spotify instead of A concert or a...

1426 Views

0 replies

0 likes

Ads API
  • 1426 Views
  • 0 replies
  • 0 likes

502 Gateway in Start/Resume Playback

$headers = [ 'Authorization' => 'Bearer ' . $request->_token, 'Accept' => 'application/json', 'uris' => 'spotify:episode:' . $request->id, 'position_ms' => 0, ]; $res = $client->request('PUT', 'https://api.spotify.com/v1/me/player/play? device_id=' ....

Visitor

 $headers = [             'Authorization' => 'Bearer ' . $request->_token,             'Accept' => 'application/json', &nb...

423 Views

0 replies

0 likes

502 Gateway in Playback
  • 423 Views
  • 0 replies
  • 0 likes

[Steam Deck][Linux][Partnership] Official support for Valve's Steam Deck

Hello Since the production and shipping for Valve's Steam Deck is currently on the uptick it seems prudent that Spotify should jump right in and produce an official version for the Deck and form a partnership with Valve. For those who might not have ...

Music Fan

Hello   Since the production and shipping for Valve's Steam Deck is currently on the uptick it seems prudent that Spotify should jump right in  and produce an official version for the Dec...

2862 Views

0 replies

2 likes

Linux
Partnership
  • 2862 Views
  • 0 replies
  • 2 likes

Repo for the app-remote-SDK

Hi All,Per this 9/14/18 article, the App Remote SDK betas for iOS and Android were committed to Github at /spotify/ios-sdk and .../android-sdk, respectively. Were the respective versions of the 'Streaming SDK' also at those URLs and hence, the A.R. v...

Casual Listener

Hi All, Per this 9/14/18 article, the App Remote SDK betas for iOS and Android were committed to Github at /spotify/ios-sdk and .../android-sdk, respectively. Were the respective versions of the 'St...

849 Views

0 replies

0 likes

  • 849 Views
  • 0 replies
  • 0 likes

Update playlist tracks doesn't recognise "uris" parameter

I'm trying to update the tracks in a playlist using the playlists/playlist_id/tracks PUT action, as described at https://developer.spotify.com/documentation/web-api/reference/#/operations/reorder-or-replace-playlists-tracks.I'm using this curl comman...

Newbie

I'm trying to update the tracks in a playlist using the playlists/playlist_id/tracks PUT action, as described at https://developer.spotify.com/documentation/web-api/reference/#/operations/reorder-or-...

Ximzend

Spotify Star

1999 Views

3 replies

1 likes

Web API
  • 1999 Views
  • 3 replies
  • 1 likes

player/currently-playing endpoint not working in Spotify for windows desktop app

I'm using this endpoint to get the currently playing song info. https://api.spotify.com/v1/me/player/currently-playing Whenever I use my phone the api returns the album/track info in JSON format as specified in the docs and everything works fine; how...

Casual Listener

I'm using this endpoint to get the currently playing song info.    https://api.spotify.com/v1/me/player/currently-playing   Whenever I use my phone the api returns the album/track...

soumikdasgupta1

Casual Listener

2175 Views

4 replies

1 likes

endpoint error
  • 2175 Views
  • 4 replies
  • 1 likes

Dealing with HTTP Status 400, Code: -1

PlanPremiumCountryIndiaDeviceHP OmenOperating SystemWindows 11 My Question or IssueSo I recently started using Spotify's API through Spotipy library in Python for a school project.The objective of our project is to analyze the songs in Billboard HOT ...

Newbie

Plan Premium Country India Device HP Omen Operating System Windows 11   My Question or Issue So I recently started using Spotify's API through Spotipy library in Python for a school pr...

2092 Views

0 replies

2 likes

  • 2092 Views
  • 0 replies
  • 2 likes

"Only valid bearer authentication supported" error message

I've been trying to use Spotify's API for my app but every time I try to get something I get this error message "Only valid bearer authentication supported". I have registered my app and used valid client secret but error is still present. Here's the...

Casual Listener

I've been trying to use Spotify's API for my app but every time I try to get something I get this error message "Only valid bearer authentication supported". I have registered my app and used valid c...

vitolist

Casual Listener

9611 Views

3 replies

1 likes

API search
Developer API
  • 9611 Views
  • 3 replies
  • 1 likes

Solved!!Superuser Contribution Devices API not showing the .exe player but showing webplayer.

Hello, After yesterdays update to version 1.1.94.870 a number of users of the Spotify Stream Deck plugin on Windows have reported issues with the Devices API not showing the exe player (desktop player), but showing webplayer and other devices. We hav...

Regular

Hello,   After yesterdays update to version 1.1.94.870 a number of users of the Spotify Stream Deck plugin on Windows have reported issues with the Devices API not showing the exe player (desk...

Geekie

Regular

7876 Views

19 replies

17 likes

API Bug
Desktop (Windows)
version 1.1.94
  • 7876 Views
  • 19 replies
  • 17 likes

Playlists

PlanFree/PremiumCountry Device(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)Operating System(iOS 10, Android Oreo, Windows 10,etc.) My Question or IssueCan you shuffle all playlists you have created or all songs?

Newbie

Plan Free/Premium Country   Device (iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016) Operating System (iOS 10, Android Oreo, Windows 10,etc.)   My Question or Issue Can you...

513 Views

0 replies

0 likes

Listen
Playlists
songs
Spotify
  • 513 Views
  • 0 replies
  • 0 likes

Playlist Returns Incorrect Songs through API or Embeds

My Question or IssueI seem to have come across a bugged playlist:Name: "2000s Mix" - by SpotifyID: 37i9dQZF1EQn4jwNIohw50https://open.spotify.com/playlist/37i9dQZF1EQn4jwNIohw50When querying the playlist through the API, or when embedding the playlis...

Casual Listener

My Question or Issue I seem to have come across a bugged playlist: Name: "2000s Mix" - by Spotify ID: 37i9dQZF1EQn4jwNIohw50 https://open.spotify.com/playlist/37i9dQZF1EQn4jwNIohw50 Wh...

jweilhammer

Casual Listener

860 Views

2 replies

0 likes

api
bug
Bug Playlist
embed
Playlist functionality
  • 860 Views
  • 2 replies
  • 0 likes

Fetch redirect URI?

So, in the OAuth2 thing, the user gets a URL to the OAuth2 Confirmation page. They click accept/decline, and they get redirected to the Redirect URI. How do I fetch that URI?

Regular

So, in the OAuth2 thing, the user gets a URL to the OAuth2 Confirmation page. They click accept/decline, and they get redirected to the Redirect URI. How do I fetch that URI?

zoltan69

Casual Listener

3264 Views

8 replies

0 likes

api
Help
oAuth2
Python
  • 3264 Views
  • 8 replies
  • 0 likes