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

Is there a way to get an AccessToken wihout using an Userinterface?

Is there a way to get an AccessToken wihout using an Userinterface?

Plan

Premium

Country

Germany

Device

Pc

Operating System

Windows 10

 

My Question or Issue

I am trying to write a program that automatically updates me when there is an update at certain artists. My problem now is I can't seem to find a way to get an access token without having a UI where the user has to give access first. Is there a way where I can just create an AccessToken that lasts forever (until I remove it) so I can run the program indefinitely (maybe even restart it at times) without having to worry about getting a new AccessToken. The language I am using for it is node.js. The program should run automatically without my interference which is why I need a way to get an AccessToken

Reply
1 Reply

Hey there, help's here!

 

The APIs support quite a few authorization methods. You might be able to use Client Credentials access flow here. This doesn't require a user to log into the app, but you won't be able to use endpoints that require user authorization. Let me know if you have any questions!

Have a great day,

Hubo

HuboSpotify 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

Staff
Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

Staff
ModeratorStaff / Moderator/ 3 years ago  in Social & Random