Search⌘ K
AI Features

Update and Delete User's Playlists

Explore how to update and delete user playlists with the Deezer API. Learn to add tracks using POST requests, remove tracks with DELETE, and delete entire playlists while managing necessary permissions. This lesson enables you to manage playlists programmatically in your app.

Adding a track to the playlist

It’s a splendid day and you are exploring new tracks. Luckily, you stumbled upon a track that suits your mood today so you want to save it to your playlist. By using this endpoint, we can add a track to a user’s playlist. We will use the POST type of HTTP requests in this endpoint.

Endpoint to add tracks to a user's playlist
Endpoint to add tracks to a user's playlist

The base URL for this endpoint is:

https://api.deezer.com/playlist/id/tracks

The request parameters for the above endpoint are given ...

Ask