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

Parameters

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

Response

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