Voice Authentication
Service that compares audio against a voice template issued during enrollment and returns the result with its score.
Endpoint
POST /biometric/voice/authenticationHeaders
consumer-id
string
Yes
Consumer identifier.
Request body
Content-Type: application/json
Parameters
audio
string
Yes
Audio to authenticate, in Base64.
Request example
{
"audio": "<base64 audio>",
"template": "<voice template>"
}Responses
200 Success
Response parameters
consumerId
string
Identifier of the consumer that made the call.
transactionId
string
Transaction identifier.
timestamp
string
Response timestamp in ISO 8601.
message
string
Descriptive field for the service execution result.
operationResult
integer
Result code for the service execution.
match
boolean
Indicates whether the audio matches the template.
matchingScore
number
Matching score.
livenessScore
number
Audio liveness check score.
Other responses
400
Required field missing, unsupported audio format, or invalid template.
401
Token is missing, invalid, or expired.
403
The consumer is not provisioned with the service VOICE_AUTHENTICATION.
The body of an error response has the format described in Middleware API v2.
Last updated