https://api.ibroadcast.com/
Use mode: createplaylist to create a new playlist.
name
Display label for the new playlist.
description
A brief description of the new playlist contents.
make_public
A public playlist can be viewed via the playlist.ibroadcast.com/public_id url. For more information see Making Playlists Public.
tracks
An array of track IDs representing the contents of the playlist.
playlist_id
The id used to identify the playlist in later requests.
public_id
The id used to when accessing public playlists (only createplaylist & makeplaylistpublic).
When creating a mood playlist, the server will populate the playlist with tracks matching the supplied mood.
Available moods:
happy
party
dance
relaxed
workout
chill
{
"mode": "createplaylist",
"name": "Happy Playlist",
"description": "Example Happy Playlist"
"make_public": true
"mood": "happy"
}
The supplied track ID will be used to generate a new playlist of similar tracks.
{
"mode": "createplaylist",
"name": "Seed Playlist",
"description": "Example Seeded Playlist"
"make_public": true
"seed": 1234567
}
The supplied track ID array will be used to populate a new playlist.
An empty playlist can be created by providing a tracks object of zero length.
{
"mode": "createplaylist",
"name": "Seed Playlist",
"description": "Example Seeded Playlist"
"make_public": true
"tracks": [1234567, 2345678, 3456789, 4567890]
}
Use mode: appendplaylist to add tracks to an existing playlist.
If a provided track is present in the playlist to be updated it will not be added again.
{
"mode": "appendplaylist",
"playlist_id": 12345678,
"tracks": [1234567, 2345678, 3456789, 4567890]
}
Use mode: updateplaylist to change the playlist name and/or remove tracks.
Each attribute of a playlist can be updated individually or at the same time.
{
"mode": "updateplaylist",
"name": "New Playlist Name",
"playlist_id": 1234567
"tracks": [4567890, 2345678]
}
Populate the name parameter in the update playlist request to change the playlist name.
{
"mode": "updateplaylist",
"name": "New Playlist Name",
"playlist_id": 1234567
}
Use the tracks parameter to set an updated track listing for the desired playlist_id
{
"mode": "updateplaylist",
"playlist_id": 1234567,
"tracks": [2345678, 4567890]
}
Use mode: playlistorder to reorder tracks. Set the tracks parameter to an updated track listing for the desired playlist_id
{
"mode": "playlistorder",
"playlist_id": 1234567,
"tracks": [4567890, 3456789, 1234567, 2345678]
}
A public playlist is given a unique ID that be used with the playlists.ibroadcast.com/public_id url
A playlist can be made public at the time of creation by setting the make_public parameter to true.
Use mode: makeplaylistpublic to mark a playlist as public
{
"mode": "makeplaylistpublic",
"playlist_id": 1234567
}
A playlist can be made private at the time of creation by setting the make_public parameter to false.
Use mode: revokeplaylistpublic to mark a playlist as private
{
"mode": "revokeplaylistpublic",
"playlist_id": 1234567
}
Use mode: deleteplaylist to delete a playlist
{
"mode": "deleteplaylist",
"playlist_id": 1234567
}