Face Check
Overview
Yoti offers the ability to add your own pool of applicants/faces to our API, which can then be searched against by running face check against this pool and the user undergoing the identity verification check. If a match is found, you will be notified about this in the session response.
There are a few steps to use this service:
- Create the applicants
- Add a face for each applicant
- Create an applicant pool
- Add applicants to the applicant pool
- Create a Face check when configuring an identity verification session
Authentication
From here on, each endpoint requires an RSA-signed request for Authentication. This can be constructed via one of our backend SDKs. The Yoti SDK exposes a simple request builder class to support the authentication process, and the examples provide snippets of this usage in each endpoint code snippet. You will need your Yoti SDK ID and application key pair for this process.
Please use our Yoti SDKs to automatically build the relevant request. The Yoti SDKs are available via popular dependency management systems.
npm install yoti
const { RequestBuilder, Payload } = require("yoti");
const payload = {}; // JSON payload
const request = new RequestBuilder()
.withBaseUrl("https://api.yoti.com/idverify/v1")
.withPemFilePath("<YOTI_KEY_FILE_PATH>") // file path to PEM file
.withEndpoint("/")
.withPayload(new Payload(payload))
.withMethod("POST")
.withQueryParam("sdkId", "<YOTI_CLIENT_SDK_ID>")
.build();
// get Yoti response
const response = await request.execute();