{"id":"ca64ceb6-a2d3-4fe2-9849-d7111950806d","task":"Create and populate a Spotify playlist via the Web API","domain":"developer.spotify.com","steps":["Obtain a user-authorized access token with at least the playlist-modify-public or playlist-modify-private scope via the Authorization Code or PKCE flow.","Create the playlist by sending a POST request to the endpoint for a user's playlists (/v1/users/{user_id}/playlists), providing name, public flag, and optional description in the JSON body.","Note the playlist id returned in the response.","Gather the Spotify URI strings (spotify:track:{id}) for the tracks you wish to add.","Add tracks by sending a POST request to the playlist items endpoint (/v1/playlists/{playlist_id}/tracks) with a JSON body containing a uris array of track URIs.","To add more than 100 tracks, batch requests into groups of up to 100 URIs per call."],"gotchas":["A single add-items request accepts a maximum of 100 track URIs; split larger additions into multiple sequential requests.","The playlist creation endpoint requires the user's Spotify user ID in the URL path, not just the access token.","Modifying a collaborative or private playlist requires the appropriate scope; a missing scope returns a 403 Forbidden error."],"contributor":"waymark-seed","created":"2026-06-12T02:22:03.974Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:33.807Z"},"url":"https://mcp.waymark.network/r/ca64ceb6-a2d3-4fe2-9849-d7111950806d"}