Verify Voice

To perform the user’s biometric voice verification, the method to be used is Verify Voice. Similar to the enrollment process, the first request to this method will start the verification process, returning the voice sample expected to be present on the next request ( not expecting any file on the first request ). This process may need more than one request depending on the quality and acceptance of the sample provided. In case of success, the system will respond that the user is verified for this kind of biometric operation. In case of failure, it’s necessary to repeat the process until the verification step is completed.

Verify Voice

POST Https://api.biometrid.com/api/1.1/users/:userId/dialogue/verify/voice

Verify user's voice on client's chosen provider

Path Parameters

Name
Type
Description

userID

string

BiometrID user ID

Headers

Name
Type
Description

Content-type

string

Request content type (This is not required to be set. Referenced only to show how we expect data to be sent). { "Content-Type": "multipart/form-data" }

x-biometrid-key

string

Application Client Key

x-biometrid-secret

string

Application Client Secret

Request Body

Name
Type
Description

audio

object

Audio file with the voice biometrid sample. (only .wav format)

//Audio Verified
{
    "status": true,
    "data": {
        "message": "AUDIO_RECOGNIZED_WITH_SUCCESS",
        "verified": true
    }
}

//Voice Verification Failed
{
    "status": false,
    "data": {
        "message": "AUDIO_RECOGNITION_FAILED"
     }
}

Last updated

Was this helpful?