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

Get user id for current user

Get user id for current user

I'm using the ios-sdk. I'm connected and can control the player API, but I'd like to retrieve some data from the REST API. How do I get the current user's spotify id for the queries?

 

TIA

 

Reply
1 Reply

This may not be the best way, but I called https://api.spotify.com/v1/me with the bearer token. The response contains the user id.

Suggested posts