Get Available Devices
Get information about a user’s available Spotify Connect devices. Some device models are not supported and will not be listed in the API response.
Read your currently playing content and Spotify Connect devices information.
Request
Response
A set of devices
- Required
- idstringNullable
The device ID. This ID is unique and persistent to some extent. However, this is not guaranteed and any cached
device_id
should periodically be cleared out and refetched as necessary. - is_activeboolean
If this device is the currently active device.
- is_private_sessionboolean
If this device is currently in a private session.
- is_restrictedboolean
Whether controlling this device is restricted. At present if this is "true" then no Web API commands will be accepted by this device.
- namestring
A human-readable name for the device. Some devices have a name that the user can configure (e.g. "Loudest speaker") and some devices have a generic name associated with the manufacturer or device model.
Example:"Kitchen speaker"
- typestring
Device type, such as "computer", "smartphone" or "speaker".
Example:"computer"
- volume_percentintegerNullable
The current volume in percent.
Range:0
-100
Example:59
- supports_volumeboolean
If this device can be used to set the volume.
Response sample
{ "devices": [ { "id": "string", "is_active": false, "is_private_session": false, "is_restricted": false, "name": "Kitchen speaker", "type": "computer", "volume_percent": 59, "supports_volume": false } ]}