Skip to main content
authentica.voice.verify() checks whether a real-time voice recording matches the reference audio you registered for a user.

Parameters

The SDK checks only that each field is a non-empty string. The API decides whether the audio is valid.

Response

boolean
Whether the API processed the verification request.
string
The user ID returned by the API.
boolean
true if the voices match, false if they do not.
Check success first. success: false means the verification could not be completed, not that the voices do not match. Only when success is true does result tell you whether the voices match. A result of false is a normal outcome, not an error.
Voice recordings are biometric data. Never log Base64 audio payloads, and avoid storing them unnecessarily. Limit upload and request sizes in your backend; the SDK does not impose a size limit.
See also: Voice Verification Workflow and the Verify By Voice API Reference.