Key requirements

To create a valid Sonos music service, you must:

  1. Add the following core set of API requests, with valid success responses and error handling:

    1. APIs to add your content to Sonos. See content on Sonos.
    2. APIs to playback your content on Sonos. See playback on Sonos.
    3. An API to synchronize and update your content for Sonos users. See synchronize your service.
  2. Handle pagination for large lists of content in the content API requests that support it. See Add pagination for details.

  3. Return defined errors as expected. See error handling for details.

  4. Use Transport Layer Security (TLS) and Secure Sockets Layer (SSL) security requirements in your SMAPI implementation. See security for details.

  5. Handle all valid API calls, even if you don't support everything that they can do. See the SMAPI reference pages for details.

  6. Requests will come from a central Sonos cloud service. To prevent any errors, allow traffic from the following IP addresses by whitelisting and removing any rate limiting:

    Prod USProd EU
    54.174.40.16954.155.193.190
    54.86.86.1454.228.23.52
    3.89.18.15554.78.147.117

As a Sonos content service partner, you decide which features to support. If you don't support a feature, your service must still send a reasonable, expected response. In your response, you can let the user know that your service does not support the requested feature.