Playlists
Users
Get User's Playlists
Changed onGet a list of the playlists owned or followed by a Spotify user.
get/users/{user_id}/playlists
Request
- Base URLhttps://api.spotify.com/v1
- URLhttps://api.spotify.com/v1/users/{user_id}/playlists
- AuthOAuth 2Authorization code: https://accounts.spotify.com/authorizeToken URL: https://accounts.spotify.com/api/token scopes: playlist-read-private, playlist-read-collaborative
Path parameters
user_idstring required
The user's Spotify user ID.
Example:smedjan
Query parameters
limitinteger
The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.
Example:10
offsetinteger
The index of the first playlist to return. Default: 0 (the first object). Maximum offset: 100.000. Use with limit to get the next set of playlists.
Example:5
Response
A paged set of playlists
Example response
{
"href": "https://api.spotify.com/v1/me/shows?offset=0&limit=20\n",
"limit": 20,
"next": "https://api.spotify.com/v1/me/shows?offset=1&limit=1",
"previous": "https://api.spotify.com/v1/me/shows?offset=1&limit=1",
"total": 4,
"items": [
{
"images": [
{
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"height": 300,
"width": 300
}
]
}
]
}Changes
- info
endpoint deprecated
- info
added the optional property
///to the response with the status - info
response property
allOf[subschema #2]/items/items/tracksdeprecated
- info
- warning
removed the optional property
////////////from the response with the status
- warning