Announcements

Help Wizard

Step 1

NEXT STEP

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

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…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random