Skip to main content
POST
Face Comparison
The Face Comparison endpoint uses biometric analysis to compare two face images and returns a confidence score indicating whether they depict the same individual. Use this for identity verification during onboarding or transaction approval.

Endpoint

Request

Headers

Body Parameters

Example

Response

200 OK

A data.status of false indicates the faces do not match. Use data.confidence to apply your own threshold for acceptance (e.g., require >= 80 for a positive match).

400 Bad Request

Returned when one or both image URLs are missing, inaccessible, or do not contain a detectable face.

401 Unauthorized

Authorizations

x-access-token
string
header
required

Your Adhere API secret key

Body

application/json
image_url
string
required

URL of the reference ID photo

selfie_url
string
required

URL of the selfie image

Response

Comparison successful