range_start
, insert_before
, range_length
and snapshot_id
in the request's body.uris
as either a query parameter or in the request's body.curl --location --request PUT 'https://api.spotify.com/v1/playlists//tracks' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"insert_before": 0,
"range_length": 0,
"range_start": 0,
"snapshot_id": "string",
"uris": [
"string"
]
}'
{
"snapshot_id": "string"
}
uris=spotify:track:4iV5W9uYEdYUVa79Axb7Rh,spotify:track:1301WleyT98MSxVHPZCA6M,spotify:episode:512ojhOuo1ktJprKbVcKyQ
playlist-modify-public
scope; reordering or replacing items in the current user's private playlist (including collaborative playlists) requires the playlist-modify-private
scope. See Using Scopes.application/json