Browse the Help Center for platform guides or API & Developers for integration docs.
curl --request GET \
--url https://open.beatpass.ca/api/v1/genres \
--header 'Authorization: Bearer <token>'{
"status": "success",
"pagination": {
"current_page": 1,
"from": 1,
"to": 100,
"per_page": 25,
"last_page": 156,
"total": 264,
"data": [
{
"id": 1,
"name": "rock"
}
]
}
}curl --request GET \
--url https://open.beatpass.ca/api/v1/genres \
--header 'Authorization: Bearer <token>'{
"status": "success",
"pagination": {
"current_page": 1,
"from": 1,
"to": 100,
"per_page": 25,
"last_page": 156,
"total": 264,
"data": [
{
"id": 1,
"name": "rock"
}
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response body contains a paginated list of all existing genres in JSON format.
"success"
Show child attributes
1
1
100
25
156
264
Was this page helpful?