followPlaylist

suspend fun followPlaylist(playlistId: String, public: Boolean = true): SpotifyApiResponse<Boolean>

Deprecated

Spotify marks PUT /v1/playlists/{playlist_id}/followers as deprecated.

Follows a Spotify playlist for the current user.

Return

Wrapped Spotify API response. data is true when Spotify accepted the operation.

Parameters

playlistId

Spotify playlist ID.

public

Whether the playlist follow should be publicly visible on the user profile.