Babbo Natale
Babbo Natale

Reputation: 61

Apple Music API - How to get user identifier?

I am trying to retrieve the user's information after getting the Music Token from the Apple Music API. It seems that the /me endpoint is not available for queries other than the storefront (https://api.music.apple.com/v1/me/storefront).

Problem is, I need to identify each user with a unique ID, so I need to retrieve any good information to do that (for example, the email address could be a good starting point).

From the Apple Music API developer page, I can't find any endpoint to do so. Is there something I am missing?

Thank you :)

Upvotes: 6

Views: 1132

Answers (1)

Logan George
Logan George

Reputation: 155

No, you're not missing anything. It's really frustrating that you can't get any user data from the api, because it probably means you'll have to also provide another sign-on method like Google or email/password to get information. Apple has just released its own SSO here, but I think the user would still have to authenticate that and MusicKit.

Upvotes: 2

Related Questions