curl --location --request POST 'https://api.spotify.com/playlists//tracks' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"position": 0,
"uris": [
"string"
]
}'
{
"error": {
"message": "string",
"status": 0
}
}
position=0
; to insert the items in the third position: position=2
. If omitted, the items will be appended to the playlist. Items are added in the order they are listed in the query string or request body.uris=spotify:track:4iV5W9uYEdYUVa79Axb7Rh, spotify:track:1301WleyT98MSxVHPZCA6M, spotify:episode:512ojhOuo1ktJprKbVcKyQ
playlist-modify-public
scope; adding items to the current user's private playlist (including collaborative playlists) requires the playlist-modify-private
scope. See Using Scopes.application/json