v1

latestOpenAPI 3.1.02026-07-246652306.5 KB
favorites

loadFavorite

The loadFavorite command in the favorites namespace activates a favorite within the default playback session. This command interrupts any active private playback sessions. Sonos adds album, tracklist, and track favorites to the queue and activates the queue. This prevents your app from overwriting user-curated queues.

post/groups/{groupId}/favorites

Request body

favoriteIdstring required

The identifier of the favorite. You can find this in the favoriteList object in the getFavorites response.

action'REPLACE' | 'APPEND' | 'INSERT' | 'INSERT_NEXT' | 'PLAY_NOW'

No description available

playOnCompletionboolean nullable

(Optional) If true, the player automatically starts playback. If false or not provided, the player remains in the PLAYBACK_IDLE state.

Response

See the x-muse-error-codes extension for a list of muse errors that generate this response

Ok required

This object represents an empty (default) success. The platform returns an empty object ({}).