cURL
curl --request POST \ --url https://api.pyannote.ai/v1/voiceprint \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "url": "https://example.com/voice.wav", "webhook": "https://example.com/webhook", "model": "precision-1" }'
{ "jobId": "3c8a89a5-dcc6-4edb-a75d-ffd64739674d", "status": "created", "warning": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
URL of the voiceprint audio file
"https://example.com/voice.wav"
Webhook URL to receive voiceprint results (optional)
"https://example.com/webhook"
precision-1
precision-2
ID of the job
"3c8a89a5-dcc6-4edb-a75d-ffd64739674d"
Status of the job
pending
created
succeeded
canceled
failed
running
"created"
Warning message if any
Was this page helpful?