provider PlaylistsTracks GET
/playlists/{playlist_id}/items @utdk/spotify
/playlists/{playlist_id}/items Get Playlist Items
Get full details of the items of a playlist owned by a Spotify user.
**Note**: This endpoint is only accessible for playlists owned by the current user or playlists the user is a collaborator of. A `403 Forbidden` status code will be returned if the user is neither the owner nor a collaborator of the playlist.
- playlist_id path required
- string
- market query
- string
- fields query
- string
- limit query
- integer
- offset query
- integer
- additional_types 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.getPlaylistsItems({
"limit": 20,
"offset": 0
})