curl --request GET \
--url https://api.creatify.ai/api/musics/ \
--header 'X-API-ID: <api-key>' \
--header 'X-API-KEY: <api-key>'
[
{
"page": 1,
"page_size": 10,
"count": 123,
"results": [
{
"id": "<string>",
"category": [
"<string>"
],
"cover_url": "<string>",
"duration": 123,
"name": "<string>",
"url": "<string>",
"is_favorite": "<string>"
}
]
}
]
curl --request GET \
--url https://api.creatify.ai/api/musics/ \
--header 'X-API-ID: <api-key>' \
--header 'X-API-KEY: <api-key>'
[
{
"page": 1,
"page_size": 10,
"count": 123,
"results": [
{
"id": "<string>",
"category": [
"<string>"
],
"cover_url": "<string>",
"duration": 123,
"name": "<string>",
"url": "<string>",
"is_favorite": "<string>"
}
]
}
]
API ID, from your settings page.
API Key, from your settings page.
Filter musics by category
Page number
Number of items per page
Search musics by name or category
The response is of type object[]
.