Content-Type of the download. Anything else is rejected with 400. Stereo audio is recommended: mono audio is accepted, but the response carries a warning because speaker diarization is less accurate on a single channel.Authorization: ********************{
"audio_url": "https://example.com/calls/call-001.mp3",
"direction": "inbound",
"config": {
"description": "Motomart (moto mart, motomart dot co dot za) is a car dealership in Pretoria, South Africa, selling new and used vehicles, bakkies and SUVs. Customers call our sales team to enquire about stock and book test drives; our staff make outbound follow-up calls.",
"sector": "cars",
"scorecard": true,
"moments_inbound": {
"positive": [
"booked a test drive",
"offered a trade-in valuation"
],
"negative": [
"customer was angry",
"quoted the wrong price"
]
}
}
}curl --location 'https://api.sudonum.com/v3/sumi/jobs' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"audio_url": "https://example.com/calls/call-001.mp3",
"direction": "inbound",
"config": {
"description": "Motomart (moto mart, motomart dot co dot za) is a car dealership in Pretoria, South Africa, selling new and used vehicles, bakkies and SUVs. Customers call our sales team to enquire about stock and book test drives; our staff make outbound follow-up calls.",
"sector": "cars",
"scorecard": true,
"moments_inbound": {
"positive": [
"booked a test drive",
"offered a trade-in valuation"
],
"negative": [
"customer was angry",
"quoted the wrong price"
]
}
}
}'{
"job_uuid": "de25c4df-6d4e-439f-9d5f-a4c55d30f26e",
"status": "created",
"poll_url": "string",
"warning": "Audio is mono (1 channel). Speaker diarization accuracy may be reduced. Stereo audio is recommended."
}