Features
Extraction
Initiate an audio extraction task using a file upload or a URL with optional webhook callback.
POST
Extract data from an audio file or URL with an option to specify a webhook for callback.
🎧 Endpoint
This is the endpoint used for initiating extraction tasks from audio inputs.
🔢 Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
audio_url | String | Optional | The URL of an audio file to extract data from. Either audio_url or audio_file must be provided. |
audio_file | UploadFile | Optional | Upload the audio file directly. Either audio_url or audio_file must be provided. |
webhook_url | String | Optional | Callback URL for async response. |
💡 Note: You must provide either
audio_url
oraudio_file
— not both asNone
.
📤 Sample Request
🐚 cURL
🐍 Python
🔐 Replace
{path_to_your_audio_file}
,api_key
, andwebhook_url
before executing.
📥 Sample Response
✅ Success (200 OK)
❌ Common Errors
- 422 Unprocessable Entity: Both
audio_url
andaudio_file
cannot beNone
. - 500 Internal Server Error: An error occurred on the server.
📞 Webhook Response
When the extraction completes, the webhook receives:
You can download or stream each audio layer from the respective URLs.
Payload and Request Formation
Authorizations
Body
multipart/form-data
Response
200
application/json
Successfully initiated audio extraction
The response is of type object
.