Browse the Help Center for platform guides or API & Developers for integration docs.
curl --request GET \
--url https://open.beatpass.ca/api/v1/playlists/{id} \
--header 'Authorization: Bearer <token>'{
"status": "success",
"playlist": {
"id": 123,
"name": "Some Playlist",
"public": true,
"collaborative": false,
"image": "https://example.com/image1.jpg",
"description": "<string>",
"totalDuration": 386493,
"tracks": {
"current_page": 1,
"from": 1,
"to": 100,
"per_page": 25,
"last_page": 156,
"total": 264,
"data": [
{
"id": 123,
"name": "Hey Hey What Can I Do",
"release_date": "1982-11-19",
"image": "https://example.com/image1.jpg",
"duration": 5645848548,
"description": "<string>",
"artists": [
{
"id": 123,
"name": "Led Zeppelin",
"image_small": "https://example.com/image1.jpg",
"verified": true
}
]
}
]
}
}
}curl --request GET \
--url https://open.beatpass.ca/api/v1/playlists/{id} \
--header 'Authorization: Bearer <token>'{
"status": "success",
"playlist": {
"id": 123,
"name": "Some Playlist",
"public": true,
"collaborative": false,
"image": "https://example.com/image1.jpg",
"description": "<string>",
"totalDuration": 386493,
"tracks": {
"current_page": 1,
"from": 1,
"to": 100,
"per_page": 25,
"last_page": 156,
"total": 264,
"data": [
{
"id": 123,
"name": "Hey Hey What Can I Do",
"release_date": "1982-11-19",
"image": "https://example.com/image1.jpg",
"duration": 5645848548,
"description": "<string>",
"artists": [
{
"id": 123,
"name": "Led Zeppelin",
"image_small": "https://example.com/image1.jpg",
"verified": true
}
]
}
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the playlist
Response body contains a playlist object in JSON format.
"success"
Show child attributes
"Some Playlist"
Whether this playlist is public
true
Whether this playlist is collaborative
false
Artwork image for playlist, usually 300x300px in size
"https://example.com/image1.jpg"
description for the playlist
Total duration of all playlist tracks in milliseconds
386493
Show child attributes
1
1
100
25
156
264
Show child attributes
"Hey Hey What Can I Do"
Release date of the album in YYYY-MM-DD format
"1982-11-19"
Artwork image for album, usually 300x300px in size
"https://example.com/image1.jpg"
Duration for track in milliseconds
5645848548
description for the track
List of artists who performed the track
Show child attributes
"Led Zeppelin"
Small image for artist, usually 320x320px in size.
"https://example.com/image1.jpg"
Whether artist has been verified by SITE_NAME staff
true
Was this page helpful?