Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Using Spotify API in a GPT

Using Spotify API in a GPT

Hi. I don't know much about coding (and pretty much nothing about APIs), but I want to create a GPT with access to Spotify - but I'm stuck.

 

I've found the OpenAPI at https://raw.githubusercontent.com/sonallux/spotify-web-api/main/fixed-spotify-open-api.yml and imported it into my GPT.

I got lots of errors and don`t know what to do, see picture:

Picture1.png

 

I hoped this might be because I hadn't yet filled in the authentication details, but that didn't help. Well, I'm not sure I put the authentication in right - see picture:

Picture2.png

I managed to get a Client ID and Secret. But then I didn't find the requested URLs in Spotify's API documentation, and I asked ChatGPT (or Bing Chat?) - are they correct?

Is it okay to leave "Scope" empty? And what Token Exchange Method should I choose?

 

Thank you for your help!

Reply
4 Replies

Integrating Spotify API endpoints into AI is prohibited by the Spotify Developer Policy.

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Oh!

But then is PlaylistAI illegal, too?

The developer policy prevents to use spotify data to train AI models, not to use the results in an AI chat agent

Someone already got rejected by using ChatGPT in combination with the Spotify API: https://community.spotify.com/t5/Spotify-for-Developers/Quota-extension-request-for-an-AI-based-APP/...

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Suggested posts