Remote Controlling Spotify Using the Connect Web API

Controlling Premium Users’ Playback

Image for post
Image for post

Authenticate User

Get User’s Devices

"devices": [
"id": "b46689a4cd5",
"is_active": true,
"is_private_session": false,
"is_restricted": false,
"name": "Lee's iMac Pro",
"type": "Computer",
"volume_percent": 70

Get User’s Currently Playing Track

Starting, Pausing, and Resuming

curl -X "PUT" "" --data "{\"uris\":[\"spotify:track:1qyKIq8hw9yWkuPJ9ZjuvK\"]}" -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

More Endpoints Please

Written by

I develop websites for rock 'n' roll bands and get paid in sex and drugs. Previously Silva Artist Management, SoundCloud, and Songkick. Currently: Available

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store