provider Player PUT
/me/player/seek @utdk/spotify
/me/player/seek Seek To Position
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.
- position_ms query required
- integer
- device_id query
- string
Try it
Authentication
Configure credentials for Spotify Web API
Code snippet
Updates live as you fill in the form above.
TypeScript
import spotify from '@utdk/spotify';
await spotify.seekToPositionInCurrentlyPlayingTrack()