Web API •References / Player / Set Repeat Mode
Set Repeat Mode
Set the repeat mode for the user's playback. Options are repeat-track, repeat-context, and off.
Authorization scopes
Control playback on your Spotify clients and Spotify Connect devices.
Request
- statestringRequired
track, context or off.
track will repeat the current track.
context will repeat the current context.
off will turn repeat off.Example value:"context"
- device_idstring
The id of the device this command is targeting. If not supplied, the user's currently active device is the target.
Example value:"0d1841b0976bae2a3a310dd74c0f3df354899bc8"
Response
Command sent