provider PlaylistsTracks POST
/playlists/{playlist_id}/items @utdk/spotify
/playlists/{playlist_id}/items Add Items to Playlist
Add one or more items to a user's playlist.
- playlist_id path required
- string
- position query
- integer
- uris query
- string
Try it
Authentication
Configure credentials for Spotify Web API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import spotify from '@utdk/spotify';
await spotify.addItemsToPlaylist()