isFollowingPlaylist

suspend fun isFollowingPlaylist(playlistId: String): Boolean(source)

Check to see if the current Spotify user is following the specified playlist.

Checking if the user is privately following a playlist is only possible for the current user when that user has granted access to the SpotifyScope.PlaylistReadPrivate scope.

Api Reference

Return

Boolean representing whether the user follows the playlist

Whether the current user is following playlistId

Parameters

playlistId

playlist id or uri

Throws

if the playlist is not found