Playlists

Get the contents of playlists, add new playlists to the user's library, and add tracks to an existing playlist.

Topics

Requesting a Catalog Playlist

Get a Catalog Playlist

Fetch a playlist by using its identifier.

Get a Catalog Playlist's Relationship Directly by Name

Fetch a playlist's relationship by using its identifier.

Get Multiple Catalog Playlists

Fetch one or more playlists by using their identifiers.

Requesting a Library Playlist

Get a Library Playlist

Fetch a library playlist by using its identifier.

Get a Library Playlist's Relationship Directly by Name

Fetch a library playlist's relationship by using its identifier.

Get Multiple Library Playlists

Fetch one or more library playlists by using their identifiers.

Get All Library Playlists

Fetch all the library playlists in alphabetical order.

Creating and Modifying User Playlists

Create a New Library Playlist

Create a new playlist in a user’s library.

Add Tracks to a Library Playlist

Add new tracks to the end of a library playlist.

Add a Resource to a Library

Add a catalog resource to a user’s iCloud Music Library.

object LibraryPlaylistCreationRequest

A request to create a new playlist in a user's library.

object LibraryPlaylistTracksRequest

A request to add tracks to a library playlist.

object LibraryPlaylistRequestTrack

An object that represents a single track when added to a library playlist in a request.

Handling the Response

object LibraryPlaylistResponse

The response to a library playlist request.

object PlaylistResponse

The response to a playlist request.

object Playlist

A Resource object that represents a playlist.

object LibraryPlaylist

A Resource object that represents a library playlist.

object PlaylistRelationship

An object that represents the playlist relationship for a Resource object.

object TrackRelationship

An object that represents the track relationship for a Resource object.

See Also

Playlists and Stations

Apple Music Stations

Get information about streaming content offered by Apple Music.