Use the Create Authorization Code API to send a user to the Sonos login service, for example, with a button instructing the user to enable your integration to use Sonos that sends the user to your redirect URI.

<!DOCTYPE html>
<html xmlns="">
<body data-init="" data-bright-tag="false">
onclick="location.href='{YOUR CLIENT KEY}&response_type=code&state={TESTSTATE}&scope=playback-control-all&'"
Sign in with Sonos
Click Try It! to start a request and see the response here!