Announcements

Help Wizard

Step 1

NEXT STEP

Query a specific playlist by ID

Query a specific playlist by ID

Why can't we query a specific playlist by ID? We can do this with a track. 

 

There simply is no id or playlist_id argument within the playlists field. 

 

In GraphQL, I simply can't filter by playlist id: 

 

{
spotify {
me {
playlists(id: "xxxxxxxxxxxxxxxxxx") {
name
}
}
}
}

 

Why not? 

 

The endpoint is listed right here in your own docs: https://developer.spotify.com/console/get-playlist/

 

Reply
1 Reply

It looks like Spotify at one point supported a playlist field that required 2 arguments: userId and id (for the playlist). I found it here: https://spotify-api-graphql-console.herokuapp.com/

 

It looked like this:

 

query {

playlist(userId: "mememe", id:"xxxxxxxxxxxxxxxxxx") {
name

}

}

 

Does Spotify no longer support this? 

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random