<!--
{
  "documentType" : "article",
  "framework" : "AppleMusicAPI",
  "identifier" : "/documentation/AppleMusicAPI/playlists-api",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Playlists"
}
-->

# 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`](/documentation/AppleMusicAPI/Get-a-Catalog-Playlist)

Fetch a playlist by using its identifier.

[`Get a Catalog Playlist's Relationship Directly by Name`](/documentation/AppleMusicAPI/Fetch-a-relationship-on-this-resource-by-name-707nb)

Fetch a playlist’s relationship by using its identifier.

[`Get a Catalog Playlist’s Relationship View Directly by Name`](/documentation/AppleMusicAPI/Fetch-a-view-on-this-resource-by-name-6i3ek)

Fetch related resources for a single playlist’s relationship view.

[`Get Multiple Catalog Playlists`](/documentation/AppleMusicAPI/Get-Multiple-Catalog-Playlists)

Fetch one or more playlists by using their identifiers.

[`Get Charts Playlists by Storefront Value`](/documentation/AppleMusicAPI/Get-charts-playlists-by-storefront-value)

Fetch one or more Charts Playlists by using their Storefront value.

### Requesting a Library Playlist

[`Get a Library Playlist`](/documentation/AppleMusicAPI/Get-a-Library-Playlist)

Fetch a library playlist by using its identifier.

[`Get a Library Playlist's Relationship Directly by Name`](/documentation/AppleMusicAPI/Fetch-a-relationship-on-this-resource-by-name-5l22w)

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

[`Get Multiple Library Playlists`](/documentation/AppleMusicAPI/Get-Multiple-Library-Playlists)

Fetch one or more library playlists by using their identifiers.

[`Get All Library Playlists`](/documentation/AppleMusicAPI/Get-All-Library-Playlists)

Fetch all the library playlists in alphabetical order.

### Handling Library Playlist Folders

[`Get Root Library Playlists Folder`](/documentation/AppleMusicAPI/Get-Root-Library-Playlists-Folder)

Fetch the root library playlists folder for the user.

[`Get a Library Playlist Folder`](/documentation/AppleMusicAPI/Get-a-Library-Playlist-Folder)

Fetch a library playlist folder by using its identifier.

[`Get a Library Playlist Folder’s Relationship Directly by Name`](/documentation/AppleMusicAPI/Fetch-a-relationship-on-this-resource-by-name-r5gv)

Fetch a library playlist folder’s relationship by using its identifier.

[`Get Multiple Library Playlist Folders`](/documentation/AppleMusicAPI/Get-Multiple-Library-Playlist-Folders)

Fetch one or more library playlist folders by using their identifiers.

[`Create a New Library Playlist Folder`](/documentation/AppleMusicAPI/Create-a-New-Library-Playlist-Folder)

Create a new playlist folder in a user’s library.

[`object LibraryPlaylistFolderCreationRequest`](/documentation/AppleMusicAPI/LibraryPlaylistFolderCreationRequest)

Request object to create a new library playlist folder.

### Creating and Modifying User Playlists

[`Create a New Library Playlist`](/documentation/AppleMusicAPI/Create-a-New-Library-Playlist)

Create a new playlist in a user’s library.

[`Add Tracks to a Library Playlist`](/documentation/AppleMusicAPI/Add-Tracks-to-a-Library-Playlist)

Add new tracks to the end of a library playlist.

[`Add a Resource to a Library`](/documentation/AppleMusicAPI/Add-a-Resource-to-a-Library)

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

[`object LibraryPlaylistCreationRequest`](/documentation/AppleMusicAPI/LibraryPlaylistCreationRequest)

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

[`object LibraryPlaylistTracksRequest`](/documentation/AppleMusicAPI/LibraryPlaylistTracksRequest)

A request to add tracks to a library playlist.

### Handling the Response

[`object Playlists`](/documentation/AppleMusicAPI/Playlists)

A resource object that represents a playlist.

[`object PlaylistsResponse`](/documentation/AppleMusicAPI/PlaylistsResponse)

The response to a playlists request.

[`object LibraryPlaylists`](/documentation/AppleMusicAPI/LibraryPlaylists)

A resource object that represents a library playlist.

[`object LibraryPlaylistsResponse`](/documentation/AppleMusicAPI/LibraryPlaylistsResponse)

The response to a library playlists request.

[`object LibraryPlaylistsTracksRelationshipResponse`](/documentation/AppleMusicAPI/LibraryPlaylistsTracksRelationshipResponse)

The response to a library playlists tracks relationship request.

[`object LibraryPlaylistFolders`](/documentation/AppleMusicAPI/LibraryPlaylistFolders)

A resource object that represents a library playlist folder.

[`object LibraryPlaylistFoldersResponse`](/documentation/AppleMusicAPI/LibraryPlaylistFoldersResponse)

The response to a library playlist folders request.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)