Skip to main content
POST
/
voiceid
/
verify
Verify voice identity
curl --request POST \
  --url https://api.aurigin.ai/v1/voiceid/verify \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form audio_file='@example-file' \
  --form 'voice_vector=<string>' \
  --form 'user_id=<string>'
{
  "is_match": false,
  "similarity_score": 0.4861065447330475,
  "confidence_score": 0.4861065447330475,
  "processing_time": 6.249222755432129,
  "model_version": "titanet-large",
  "deepfake_score": null
}

Authorizations

x-api-key
string
header
required

Body

Provide the voice sample to verify and the enrolled voice vector to compare against.

audio_file
file
required

Voice sample to compare

voice_vector
string
required

JSON array string of the voice vector from enrollment (e.g., "[-0.0123, 0.8472, -0.3391, ...]")

user_id
string

Optional user identifier for tracking

Response

Verification completed with voice match and authenticity results

is_match
boolean

Whether the voice sample matches the enrolled voiceprint

Example:

false

similarity_score
number<float>

Similarity score between the voice sample and enrolled profile (0.0-1.0)

Example:

0.4861065447330475

confidence_score
number<float>

Confidence score for the verification result (0.0-1.0)

Example:

0.4861065447330475

processing_time
number<float>

Time taken to process the audio and verify the voice in seconds

Example:

6.249222755432129

model_version
string

Model version used for voice verification

Example:

"titanet-large"

deepfake_score
number<float> | null

Deepfake detection score (0.0-1.0). null if deepfake detection was not performed or voice is authentic

Example:

null