Get Playlist
GET
/playlists/{playlist_id} https://api.spotify.com/v1
Get a playlist owned by a Spotify user.
Parameters
path Path Parameters
| Name | Type |
|---|---|
playlist_id
required
| string |
query Query Parameters
| Name | Type |
|---|---|
market | string |
fields | string |
additional_types | string |
Responses
200 application/json
A playlist
interface PlaylistObject {
collaborative?: boolean;
description?: string | null;
external_urls?:ExternalUrlObject ;
href?: string;
id?: string;
images?:ImageObject [];
name?: string;
owner?:PlaylistOwnerObject ;
public?: boolean;
snapshot_id?: string;
tracks?: {} &PagingPlaylistTrackObject ;
type?: string;
uri?: string;
}
collaborative?: boolean;
description?: string | null;
external_urls?:
href?: string;
id?: string;
images?:
name?: string;
owner?:
public?: boolean;
snapshot_id?: string;
tracks?: {} &
type?: string;
uri?: string;
}
Client Errors
401 application/json
Bad or expired token. This can happen if the user revoked a token or the access token has expired. You should re-authenticate the user.
{ error: ErrorObject ; }
403 application/json
Bad OAuth request (wrong consumer key, bad nonce, expired timestamp...). Unfortunately, re-authenticating the user won't help here.
{ error: ErrorObject ; }
429 application/json
The app has exceeded its rate limits.
{ error: ErrorObject ; }