<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "AppleMusicAPI",
  "identifier" : "/documentation/AppleMusicAPI/Add-Tracks-to-a-Library-Playlist",
  "metadataVersion" : "0.1.0",
  "role" : "Web Service Endpoint",
  "symbol" : {
    "kind" : "Web Service Endpoint",
    "modules" : [
      "Apple Music API"
    ],
    "preciseIdentifier" : "rest:music_api:post:v1-me-library-playlists-{}-tracks"
  },
  "title" : "Add Tracks to a Library Playlist"
}
-->

# Add Tracks to a Library Playlist

Add new tracks to the end of a library playlist.

## Discussion

If successful, the HTTP status code is 204 and the tracks added as a result. 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).

> Note:
> There may be a delay before a new resource appears in a user’s library.

You can include an optional `tracks` relationship in this request.

### Example

**Request:**

```
https://api.music.apple.com/v1/me/library/playlists/p.RB1AARBIv74Zkl/tracks
```

**Response:**

```json
No response body
```

## See Also

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

A resource object that represents a library playlist.

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