Sonos · Authentication Profile
Sonos Authentication
Authentication
The Sonos Control API authenticates third-party integrations with OAuth 2.0 (RFC 6749) using the authorization code grant. The integration redirects the user to the Sonos login service, receives an authorization code, then exchanges it for an access token and refresh token. Access tokens are sent as a Bearer token on every Control API request to api.ws.sonos.com. Confirmed live: the authorize and token endpoints return HTTP 400 to unparameterised requests (present), and api.ws.sonos.com/control/api/v1/households returns 401 without a token.
Sonos secures its APIs with oauth2 across 1 declared security scheme, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode flow(s).
CompanyConsumerAudioMusicSmart HomeIoTStreamingSpeakersHome AutomationVoice
Methods: oauth2
Schemes: 1
OAuth flows: authorizationCode
API key in:
Security Schemes
SonosOAuth oauth2