JavaScript Control API Sample App

The Sonos JavaScript Control API web sample app uses the Sonos API to send actions to, and get the status of, your Sonos system. This sample app showcases some examples of how you can integrate your application with Sonos controls.

Highlighted features:

  • Authentication
  • Fetching households and groups information
  • System control actions
  • Event type subscriptions
  • Eventing & state management
  • Fetching household favorites
  • Playlists and initiating playback
  • Fetching music service provider logos

Download JavaScript Control API Sample App