Repeat
RequiredChoicetrack repeats the song, context repeats the album or playlist, off stops repeating.
Choices: track, context, off
Repeat the track, repeat the album or playlist, or turn repeat off.
First, connect Spotify in Services. Then open Actions → + → Spotify and choose Set Repeat Mode.
Running or testing this action changes something in your connected service.
Answers 204 and nothing else. Premium only.
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.
track repeats the song, context repeats the album or playlist, off stops repeating.
Choices: track, context, off
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.
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.
If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.
Request: PUT https://api.spotify.com/v1/me/player/repeat
Action identifier: spotify.player.repeat.set.v1
Permissions declared for this action: user-modify-playback-state. The account’s own access rules also apply.
| Input | Request key | Location |
|---|---|---|
| Repeat | state | query |
| Device | device_id | query |