- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys im using the web api to create private playlist for my user, im trying this:
curl --location 'https://api.spotify.com/v1/users/{user}/playlists' \
--header 'Authorization: Bearer {token} \
--header 'Content-Type: application/json' \
--data '{
"name": "New Playlist test private",
"description": "New playlist description",
"public": false
}'
and the api response as:
{"collaborative":false,"description":"New playlist description","external_urls":{"spotify":"}"},"followers":{"href":null,"total":0},"href":"https://api.spotify.com/v1/playlists/{id}","id":"{id}","images":[],"primary_color":null,"name":"New Playlist test private","type":"playlist","uri":"spotify:playlist:{id}","owner":{"href":"https://api.spotify.com/v1/users/{userid}","id":"{id}","type":"user","uri":"spotify:user:{user}","display_name":null,"external_urls":{"spotify":"https://open.spotify.com/user/{useroid}"}},"public":false,"snapshot_id":"{snapshot}","tracks":{"limit":100,"next":null,"offset":0,"previous":null,"href":"https://api.spotify.com/v1/playlists/{user-id}/tracks","total":0,"items":[]}}
so as we can see the response says public= false so in theory the playlist should be private but when i see in the ui, the playlist is public, please I need help
Solved! Go to Solution.
- Labels:
-
Discussion
-
Possible Bug
-
Question
-
Web API
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page