In this guide

Toggle Shuffle

Turn shuffle on or off.

Action referenceChange

What this action does #

First, connect Spotify in Services. Then open Actions → + → Spotify and choose Toggle Shuffle.

What a run does

Running or testing this action changes something in your connected service.

More about this action

Answers 204 and nothing else. Premium only.

Inputs to fill in #

Open an input to choose its value. Keep a fixed value with Text, receive it from Shortcuts, ask when the action runs, or use an Earlier Step. Read how input sources work.

Shuffle

RequiredOn or off

On shuffles, off plays in order.

Device

OptionalText

Target device. Defaults to whatever is active.

This input offers a picker for device from your connected account. You can also supply its value directly.

What comes back #

The app does not declare selectable response fields for this action. A successful operation may return no content. Inspect the run in Logs to see the service’s response.

Run it from Shortcuts #

  1. Give the action a recognizable name and tap Save.
  2. In Apple Shortcuts, add Shortcutify’s Execute Action and select the saved action.
  3. Supply any Param or File slots you bound in the inputs, then run the shortcut.

If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.

Advanced reference #

Request, permissions, and identifiers

Request: PUT https://api.spotify.com/v1/me/player/shuffle

Action identifier: spotify.player.shuffle.set.v1

Permissions declared for this action: user-modify-playback-state. The account’s own access rules also apply.

InputRequest keyLocation
Shufflestatequery
Devicedevice_idquery

Spotify API reference