Uploading playlist artwork when creating a playlist

Hello, with the recent update of the Apple Music API allowing to retrieve artwork for artists, I wanted to know if it was possible to post an artwork when creating a playlist through the API? If so, what is the format and parameters to use and is it documented somewhere?

Thanks for your help

Hello Anemost,

Thank you for your question! Currently, the only parameters for playlist creation are namedescriptionauthorDisplayName, and items. Uploading your own artwork to a playlist is not available in iOS 16. If you'd like to see this feature enabled, please consider filing 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.

-David

Hello David,

And thanks for your quick answer!

To be honest, I didn't post on the Feedback Assistant because I tried once 6 months ago and never got any answer, not even a confirmation that my feedback was correctly received by the Apple team. But if you tell me that's the way to go I will post there again.

I have actually two use-cases for my app :

  1. I manage more than 200 playlists which are mostly built from track links I have stored in my database. I created myself a back-office on which I can create & edit all the playlists across multiple music platforms, not just Apple Music. In my back-office I can create my playlists and quickly edit them if needed (title, description, artwork), I can decide how tracks will be ordered and then dispatch updates for the playlists across multiple music platforms through each platform's API.

It's very important for me because I can win a lot of time by fully using APIs and not having to use each music platform's app (just imagine if I had to update artworks for 200 playlists, I would rather do it by code than having to upload 200 artworks manually on each music platform's app...)

As of today, only Apple Music is still requiring me to perform manual actions on the app, other music platforms have playlists fully manageable from their API endpoints.

  1. I also create playlists for my users, at the moment it's a feature I haven't deployed for Apple Music users because of these missing playlist features in the API.

When creating a tailored playlist for my users :

  • I generate a list of track I have stored in my database based on their music tastes
  • I also generate a playlist artwork dedicated to them, with an image of their choice on which I will programmatically write a customized title on it, for example "David's Workout Playlist"

I hope you can better understand my usage of the API thanks to this.


Since I work with multiple music platform's, I can provide you a list of missing endpoints that are available on other platform's API and that I think are mandatory for when you want to manage playlists from an API:

  • Set a playlist's artwork on creation & update
  • Set a playlist's visibility (private / public) on creation & update
  • Set a playlist's title & description on update (already possible on creation)
  • Replace all existing tracks of a playlist by a new list of tracks (can be on the add track endpoint, or on a new one)
  • Generate the globalId (or provide it by default when creating/updating)

The last point about globalId is really specific to my first use-case, since I create playlists from a back-office, I would like to be able to share them immediatly by building a link from their id. Unfortunately it's not possible because the globalId is not returned by the API unless you do the following manipulation in the app : go on the playlist > click on the three dots menu > share > copy link. Only after that the globalId is returned by the API.

I hope my use cases will help you understand why such playlist endpoints can be important.

Feel free if you have any other question!

Thanks for the detailed response Anemost,

Filing a request in Feedback Assistant with the information you provided in your response is the best way to move forward. Although there is no confirmation or status updates on your request, your input is greatly appreciated and valued! Thanks again!

-David

Hello, I'm just posting here to notify that I created requests in the Feedback Assistant for each of the points I mentioned above. (FB10150375, FB10150521, FB10150697, FB10150799 & FB10151390)

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

Hello @Anemost,

Thank you so much for taking the time to file all these great enhancement requests!

Best regards,

Uploading playlist artwork when creating a playlist
 
 
Q