Upload audiofile¶
Upload an audio file to inspect
Endpoint¶
Method |
URI |
Description |
|---|---|---|
POST |
|
Upload an audio file to inspect |
Request Body¶
Field |
Type |
Required |
Description |
|---|---|---|---|
|
binary |
Yes |
Audio file to inspect (mp3, wav, flac, m4a, aac, ogg) |
Request Example¶
cURL¶
curl https://platform.mippia.com/api/v1/music \
-H "Authorization: Bearer YOUR_API_KEY" \
-X POST \
-F "file=@/path/to/audio.mp3"
Python¶
import requests
url = "https://platform.mippia.com/api/v1/music"
headers = {
"Authorization": "Bearer YOUR_API_KEY"
}
files = {
"file": open("/path/to/audio.mp3", "rb")
}
response = requests.post(url, headers=headers, files=files)
print(response.json())
Response¶
Field |
Type |
Description |
|---|---|---|
|
string |
Unique music identifier |
|
string |
filename |
|
string |
ISO 8601 timestamp of upload |
{
"musicId": "MUSIC-UUID",
"title": "audio",
"created_at": "2025-12-04T05:29:20Z"
}