Generating a playlist's global id with Apple Music API

Hello!

When creating a playlist we are getting an id which is the one in the user's library, it's not enough to create a link and share it with friends for example.

To do so, we need a global id. The only way I found to generate this global id is by clicking on the share button of the playlist on Apple Music. After doing this manual action, the global id is properly returned by the Playlist endpoint on the Apple Music API.

I wanted to know if there was a endpoint that could be called in order to generate this global id without having to go on the Apple Music app?

Thanks for your help

Apple Music playlists cannot currently be shared from MusicKit or the Apple Music API, outside of the Apple Music app

Hello @Anemost,

This is essentially the same question as in this older thread: How to make a playlist public/create a public playlist?

Indeed, @mharlynking is correct: sharing a playlist is not supported at this time with Apple Music API.

Feel free to file an enhancement request in Feedback Assistant, and tell us a little bit more about the context of your use-case and how you intend to use such an API.

Best regards,

Hello, I'm just posting here to notify that I created requests in the Feedback Assistant for this feature : FB10151390

Thanks for your answers, and I hope my feedbacks will help to improve the Apple Music API.

Generating a playlist's global id with Apple Music API
 
 
Q