<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "AppleMusicAPI",
  "identifier" : "/documentation/AppleMusicAPI/Get-Root-Library-Playlists-Folder",
  "metadataVersion" : "0.1.0",
  "role" : "Web Service Endpoint",
  "symbol" : {
    "kind" : "Web Service Endpoint",
    "modules" : [
      "Apple Music API"
    ],
    "preciseIdentifier" : "rest:music_api:get:v1-me-library-playlist-folders#filter-playlistsroot"
  },
  "title" : "Get Root Library Playlists Folder"
}
-->

# Get Root Library Playlists Folder

Fetch the root library playlists folder for the user.

## Discussion

If successful, the HTTP status code is 200 (OK) and the `data` array contains the requested resource object. If unsuccessful, the HTTP status code indicates the error and the details are in the `errors` array.

This endpoint requires a music user token. For more information, see [User Authentication for MusicKit](/documentation/AppleMusicAPI/user-authentication-for-musickit).

### Example

**Request:**

```
https://api.music.apple.com/v1/me/library/playlist-folders?filter[identity]=playlistsroot
```

**Response:**

```json
{
    "data": [

    ],
    "meta": {
        "filters": {
            "identity": {
                "playlistsroot": [
                    {
                        "id": "p.playlistsroot",
                        "type": "library-playlist-folders",
                        "href": "/v1/me/library/playlist-folders/p.playlistsroot"
                    }
                ]
            }
        }
    }
}
```

## See Also

[`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.



---

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)