Web API •References / Library / Save Items to Library

Save Items to Library

Add one or more items to the current user's library. Accepts Spotify URIs for tracks, albums, episodes, shows, audiobooks, users, and playlists.

Authorization scopes

Request

  • uris
    string
    Required

    A comma-separated list of Spotify URIs. Maximum: 40 URIs.

    Supported URI types:

    • spotify:track:{id}
    • spotify:album:{id}
    • spotify:episode:{id}
    • spotify:show:{id}
    • spotify:audiobook:{id}
    • spotify:user:{id}
    • spotify:playlist:{id}
    Example: uris=spotify%3Atrack%3A7a3LWj5xSFhFRYmztS8wgK,spotify%3Aalbum%3A4aawyAB9vmqN3uQ7FjRGTy

Response

Items saved to library

endpointhttps://api.spotify.com/v1/me/libraryuris

Response sample

empty response