v1

latestOpenAPI 3.0.32026-07-139687282.9 KB
Player

Set Repeat Mode

Set the repeat mode for the 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/repeat

Query parameters

statestring required

track, context or off.<br/> track will repeat the current track.<br/> context will repeat the current context.<br/> off will turn repeat off.

Example: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:0d1841b0976bae2a3a310dd74c0f3df354899bc8

Response

Command sent