playbackSession
subscribe
Use this command to subscribe to events in the playbackSession namespace for a specific sessionId. Your app can only be subscribed to one session at a time.
Returns an empty body with a success value of true if successful.
post/playbackSessions/{sessionId}/playbackSession/subscription
Request
- Base URLhttps://api.ws.sonos.com/control/api/v1
- URLhttps://api.ws.sonos.com/control/api/v1/playbackSessions/{sessionId}/playbackSession/subscription
- AuthOAuth 2 and HTTP bearer and API key in header X-Sonos-Api-KeyAuthorization code: https://api.sonos.com/login/v3/oauthToken URL: https://api.sonos.com/login/v3/oauth/access scopes: playback-control-all
Response
See the x-muse-error-codes extension for a list of muse errors that generate this response
Ok required
This object represents an empty (default) success. The platform returns an empty object ({}).
Changes
No recorded changes to this operation across all 1 revision of this API.