Retrieve results

AI Tools

The response will detail the session results information, including check and task completion status, resource and media data, along with the associated media identifiers.

Node.js
PHP
Python
Java
Go
Copy
HTTP
Copy

When the above endpoint is hit, you will receive the results of all checks configured in the session, including the familiar face search check. The response will follow the format below.

Response body

Full JSON
MATCH
NO MATCH
Copy

Within the Familiar Face Search check object, you will find details regarding the result of the check. The recommendation value will depend upon what has been configured in the "approval_criteria". If the approval criteria is set to "MATCH" the recommendation value will be APPROVE if there is a match, and if approval_criteria is set to "NO MATCH" the recommendation value will be APPROVE if there is not a match. The Familiar Face Search check object will also detail the applicant pool ID that is being searched against, as well as a list of applicant IDs.

FieldDescription
valueThe value will either be "REJECT" or "APPROVE" based on what your approval criteria is and if a match has been found.
reasonThe reason tells you why the check was rejected or approved. The reason can either be "MATCH" or "NO_MATCH", and will depend on what you have set as the approval criteria.
breakdowngives further insight into why the check was approved or rejected. The breakdown will also contain the applicant id of a matching applicant, which can then be used to retrieve the face of that applicant.
sub_checkThe sub check just identifies if the users face matches any in the applicant pool you are searching against. And will have a fail or pass result associated to it.
detailsThe details object will display the applicant id of the applicant that matched with the user as well as the pool id of which the matched applicant is a part of.

Yoti recommends that you review any matches internally, to make sure you aren't rejecting genuine users who were incorrectly flagged.

Retrieve Face

Integrators also have the ability to retrieve the face associated with the matching applicant. The matching applicant ID will need to be used in a GET request to retrieve applicant details, including a UUID, which can be used to retrieve the image of the user's face.

HTTP
Copy

Response body

JSON
Copy

To retrieve the image of a user's face the below endpoint will need to be called using the UUID linked to the applicant's face. This will return the image in its base64 encoded format.

HTTP
Copy

Response body

JSON
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard