Actions

add_playlist_items
Adds tracks or episodes to the playlist

create_playlist
Creates a new playlist for the current user

custom_api_call
Make a custom API call to a specific endpoint

get_playback_state
Retrieves the current playback state of the player

get_playlist_info
Retrieves details of a playlist

get_playlist_items
Retrieves the list of items in the playlist

get_playlists
Retrieves the list of playlists that you created or followed

get_saved_tracks
Retrieves the list of saved tracks for the current user

pause
Pauses the playback

play
Resumes or starts playback

remove_playlist_items
Removes tracks or episodes from the playlist

reorder_playlist
Reorders items in the playlist

search
Searches for tracks, artists, albums, etc.

set_volume
Sets the volume of the player

update_playlist
Updates details of the playlist
Triggers

playlist_items_changed
Triggers when the items of a playlist change























