v1

latestOpenAPI 3.0.32026-07-139687282.9 KB
Player

Toggle Playback Shuffle

Toggle shuffle on or off for user’s playback. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.

put/me/player/shuffle

Query parameters

stateboolean required

true : Shuffle user's playback.<br/> false : Do not shuffle user's playback.

Example:true
device_idstring

The id of the device this command is targeting. If not supplied, the user's currently active device is the target.

Example:0d1841b0976bae2a3a310dd74c0f3df354899bc8

Response

Command sent