provider Library PUT /me/library
@utdk/spotify /me/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.
uris query required
string

Try it

Authentication
Configure credentials for Spotify Web API
saveLibraryItems
PUT/me/library
Add one or more items to the current user's library. Accepts Spotify URIs for tracks, albums, episodes, shows, audiobooks, users, and playlists.

required

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import spotify from '@utdk/spotify';

await spotify.saveLibraryItems()