Player

Seek To Position

PUT
/me/player/seek

Seeks to the given position in the user’s currently playing track. 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.

Authorization

oauth_2_0 user-modify-playback-state
AuthorizationBearer <token>

Spotify supports OAuth 2.0 for authenticating all API requests.

In: header

Scope: user-modify-playback-state

Query Parameters

position_ms*Position (ms)

The position in milliseconds to seek to. Must be a positive number. Passing in a position that is greater than the length of the track will cause the player to start playing the next song.

device_id?Device ID

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

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/me/player/seek?position_ms=25000"
Empty