Browse the Help Center for platform guides or API & Developers for integration docs.
curl --request POST \
--url https://open.beatpass.ca/api/v1/albums \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "My New Album",
"description": "A collection of great songs",
"release_date": "2024-01-01",
"artist_id": 1
}
'{
"status": "success",
"album": {
"id": 123,
"name": "Coda",
"image": "https://example.com/image1.jpg",
"release_date": "1982-11-19",
"description": "<string>",
"tracks": [
{
"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
}
]
}
],
"artists": [
{
"id": 123,
"name": "Led Zeppelin",
"image_small": "https://example.com/image1.jpg",
"verified": true
}
]
}
}curl --request POST \
--url https://open.beatpass.ca/api/v1/albums \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "My New Album",
"description": "A collection of great songs",
"release_date": "2024-01-01",
"artist_id": 1
}
'{
"status": "success",
"album": {
"id": 123,
"name": "Coda",
"image": "https://example.com/image1.jpg",
"release_date": "1982-11-19",
"description": "<string>",
"tracks": [
{
"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
}
]
}
],
"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.
Was this page helpful?