playback
seek
Use the seek command in the playback namespace to go to a specific position in the current track. Optionally add the cloud queue itemId to target a specific track.
Use itemId to ensure the group seeks on the current item. If the current item’s itemId does not match the one provided, the player returns an ERROR_INVALID_OBJECT_ID error.
post/groups/{groupId}/playback/seek
Request
- Base URLhttps://api.ws.sonos.com/control/api/v1
- URLhttps://api.ws.sonos.com/control/api/v1/groups/{groupId}/playback/seek
- AuthOAuth 2 and HTTP bearer and API key in header X-Sonos-Api-KeyAuthorization code: https://api.sonos.com/login/v3/oauthToken URL: https://api.sonos.com/login/v3/oauth/access scopes: playback-control-all
Request body
Response
Success Code: 200 OK
Content Examples:
- When including the optional itemId.
{
"positionMillis" : 30000,
"itemId" : "123"
}
- When omitting the optional itemId.
{
"positionMillis" : 30000
}
Ok required
This object represents an empty (default) success. The platform returns an empty object ({}).
Changes
No recorded changes to this operation across all 1 revision of this API.