Skip to main content
Avid Contributor I
November 10, 2024
Answered

SMAPI - Is it required this is a public endpoint?

  • November 10, 2024
  • 1 reply
  • 106 views

Hi,

My question was asked per guidance from Sonos on stackoverflow. The question is specifically about the SMAPI, and if the Endpoint URL *must* be public. If so, Why? It doesn’t make sense and is a poor design choice for integrations.

The question is asked here in more detail - please can somebody answer https://stackoverflow.com/questions/79162083/sonos-smapi-endpoint-can-this-be-decided-at-runtime

This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.
Best answer by controlav

This kind of thing will only work with the Desktop app, or S1 mobile apps, or third party apps.

Sonos S2 mobile apps do not call SMAPI themselves any more, everything is proxied via their cloud, so your SMAPI endpoint needs to be public (and https) so their cloud service can call it.

1 reply

controlav
controlavAnswer
Lead Maestro
November 10, 2024

This kind of thing will only work with the Desktop app, or S1 mobile apps, or third party apps.

Sonos S2 mobile apps do not call SMAPI themselves any more, everything is proxied via their cloud, so your SMAPI endpoint needs to be public (and https) so their cloud service can call it.

Author of the leading independent Sonos apps for Android, MacOS, iOS, Windows and Xbox.