Playlists

Add Custom Playlist Cover Image

PUT
/playlists/{playlist_id}/images

Replace the image used to represent a specific playlist.

Authorization

oauth_2_0 ugc-image-upload, playlist-modify-public, playlist-modify-private
AuthorizationBearer <token>

Spotify supports OAuth 2.0 for authenticating all API requests.

In: header

Scope: ugc-image-upload, playlist-modify-public, playlist-modify-private

Path Parameters

playlist_id*Playlist ID

The Spotify ID of the playlist.

Request Body

image/jpeg

body*string

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

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/playlists/3cEYpjA9oz9GiPac4AsH4n/images" \  -H "Content-Type: image/jpeg" \  -d '/9j/2wCEABoZGSccJz4lJT5CLy8vQkc9Ozs9R0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0cBHCcnMyYzPSYmPUc9Mj1HR0dEREdHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR//dAAQAAf/uAA5BZG9iZQBkwAAAAAH/wAARCAABAAEDACIAAREBAhEB/8QASwABAQAAAAAAAAAAAAAAAAAAAAYBAQAAAAAAAAAAAAAAAAAAAAAQAQAAAAAAAAAAAAAAAAAAAAARAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwAAARECEQA/AJgAH//Z'
Empty