Create a Playlist

POST https://api.spotify.com/v1/users/{{user_id}}/playlists

Request Body

{"name"=>"{{artist_name}} Mix", "public"=>false}

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
Authorizationstring
Content-Typestring

RESPONSES

status: Created

{"collaborative":false,"description":null,"external_urls":{"spotify":"http://open.spotify.com/user/postmansobti/playlist/1g5KXozqHHKMp10Aj88iNY"},"followers":{"href":null,"total":0},"href":"https://api.spotify.com/v1/users/postmansobti/playlists/1g5KXozqHHKMp10Aj88iNY","id":"1g5KXozqHHKMp10Aj88iNY","images":[],"name":"Anup Sastry Mix","owner":{"external_urls":{"spotify":"http://open.spotify.com/user/postmansobti"},"href":"https://api.spotify.com/v1/users/postmansobti","id":"postmansobti","type":"user","uri":"spotify:user:postmansobti"},"public":false,"snapshot_id":"A+SnOKR3qYH8D4OUDIpRbMfHzio2LHH7Ubb2gl0LLrllJYTP2xMzAzTf4FRC2yKM","tracks":{"href":"https://api.spotify.com/v1/users/postmansobti/playlists/1g5KXozqHHKMp10Aj88iNY/tracks","items":[],"limit":100,"next":null,"offset":0,"previous":null,"total":0},"type":"playlist","uri":"spotify:user:postmansobti:playlist:1g5KXozqHHKMp10Aj88iNY"}