Playlists

Add Custom Playlist Cover Image

Replace the image used to represent a specific playlist.

put/playlists/{playlist_id}/images

Request

  • Base URL
    https://api.spotify.com/v1
  • URL
    https://api.spotify.com/v1/playlists/{playlist_id}/images
  • Auth
    OAuth 2
    Authorization code: https://accounts.spotify.com/authorize
    Token URL: https://accounts.spotify.com/api/token scopes: ugc-image-upload, playlist-modify-public, playlist-modify-private

Path parameters

playlist_idstring required

The Spotify ID of the playlist.

Example:3cEYpjA9oz9GiPac4AsH4n

Request body image/jpeg

string byte required

Base64 encoded JPEG image data, maximum payload size is 256 KB.

Example request

"/9j/2wCEABoZGSccJz4lJT5CLy8vQkc9Ozs9R0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0cBHCcnMyYzPSYmPUc9Mj1HR0dEREdHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR//dAAQAAf/uAA5BZG9iZQBkwAAAAAH/wAARCAABAAEDACIAAREBAhEB/8QASwABAQAAAAAAAAAAAAAAAAAAAAYBAQAAAAAAAAAAAAAAAAAAAAAQAQAAAAAAAAAAAAAAAAAAAAARAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwAAARECEQA/AJgAH//Z"

Response

Image uploaded

Changes

No recorded changes to this operation across all 7 revisions of this API.