Skip to content
DocumentationAPI Reference

Toggle Playback Shuffle

$ spotted me:player toggle-shuffle
PUT/me/player/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.

ParametersExpand Collapse
--state: boolean

true : Shuffle user's playback.
false : Do not shuffle user's playback.

--device-id: optional string

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

Toggle Playback Shuffle

spotted me:player toggle-shuffle \
  --state
Returns Examples