Skip to content
DocumentationAPI Reference

Get Playlist Cover Image

playlists.images.list(playlist_id) -> ImageListResponse { height, url, width, published }
GET/playlists/{playlist_id}/images

Get the current image associated with a specific playlist.

ParametersExpand Collapse
playlist_id: String

The Spotify ID of the playlist.

ReturnsExpand Collapse
Array[ImageObject { height, url, width, published } ]
height: Integer

The image height in pixels.

url: String

The source URL of the image.

width: Integer

The image width in pixels.

published: bool

The playlist's public/private status (if it should be added to the user's profile or not): true the playlist will be public, false the playlist will be private, null the playlist status is not relevant. For more about public/private status, see Working with Playlists

Get Playlist Cover Image

require "spotted"

spotted = Spotted::Client.new(access_token: "My Access Token")

image_objects = spotted.playlists.images.list("3cEYpjA9oz9GiPac4AsH4n")

puts(image_objects)
[
  {
    "height": 300,
    "url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
    "width": 300,
    "published": true
  }
]
Returns Examples
[
  {
    "height": 300,
    "url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
    "width": 300,
    "published": true
  }
]