Upload a Custom Playlist Cover Image
Developing
PUT
/playlists/{playlist_id}/images
category-playlists
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.spotify.com/v1/playlists//images' \
--header 'Authorization;' \
--header 'Content-Type: text/plain' \
--data-raw ''
Response Response Example
200 - Example 1
{
"error": {
"message": "string",
"status": 0
}
}
Request
Path Params
playlist_id
string
required
Header Params
Authorization
string
required
This access token must be tied to the user who owns the playlist, and must have the scope
ugc-image-upload
granted. In addition, the token must also contain playlist-modify-public
and/or playlist-modify-private
, depending the public status of the playlist you want to update . See Using Scopes.Content-Type
string
required
image/jpeg
Responses
Modified at 2022-09-12 10:04:50