Sonos API
Global Control
GET /lockvolumes
GET /unlockvolumes
GET /pauseall/{timeout in minutes (optional)}
GET /resumeall/{timeout in minutes (optional)}
GET /reindex
GET /sleep/{timeout in seconds or timestamp HH:MM:SS or off}
GET /preset/{JSON preset}
GET /preset/{predefined preset name}
Zone Control
GET /{zone name}/{action}[/{parameter}]
Actions
Playback
- play
- pause
- playpause toggles playing state
- trackseek/{seconds into song, i.e. 60 for 1:00, 120 for 2:00 etc.}
- next
- previous
Volume
- volume/{absolute volume}
- volume/{+ or -}{relative volume}
- groupVolume/{absolute volume}
- groupVolume/{+ or -}{relative volume}
- mute
- unmute
- groupMute
- groupUnmute
- togglemute
- lockvolumes
- unlockvolumes experimental enforce the volume that was selected when locking!
Playback Settings
- favorite
- playlist
- repeat/{on | off}
- shuffle/{on | off}
- crossfade/{on | off}
Queue
- queue
- clearqueue
- seek/{queue index}
Room Grouping
- add/{other zone name}
- remove/{other zone name}
- isolate
Other
- say
Internals
- state returns a json-representation of the current state of player