Web API •References / Player / Set Playback Volume
Set Playback Volume
Set the volume for the user’s current playback device. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.
Authorization scopes
Control playback on your Spotify clients and Spotify Connect devices.
Request
- volume_percentintegerRequired
The volume to set. Must be a value from 0 to 100 inclusive.
Example:volume_percent=50
- device_idstring
The id of the device this command is targeting. If not supplied, the user's currently active device is the target.
Example:device_id=0d1841b0976bae2a3a310dd74c0f3df354899bc8
Response
Command sent