Announcements

Help Wizard

Step 1

NEXT STEP

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