Validate a face image against previously approved KYC sessions
entityId or externalEntityId). The API compares that face against the biometric data stored in previous approved session-based validations for that entity. If the face matches one of those approved sessions, the response indicates a match and returns the related KYC validation IDs.
NOT_ENABLED or NOT_CONFIGURED).
multipart/form-data: use form fields userImage or user_image (file or base64) and optional entityId, externalEntityId.application/json: body with user_image (base64 string) and optional entityId, externalEntityId.entityId or externalEntityId so the API knows which entity to check against.
X-Organization-Id.
data:image/...;base64, prefix). For multipart, use the field name userImage or user_image and send a file or a base64 string. Formats: JPEG, PNG, WebP, TIFF. Max 5MB.entityId or externalEntityId is required.entityId, the API resolves the entity by organization + externalId. Either entityId or externalEntityId is required.| Field | Type | Description |
|---|---|---|
match | boolean | true if the face matched at least one KYC validation that is approved in your account for this entity (see note below). |
approvedSessionIds | string[] | Session IDs from the verification service that were considered approved matches. |
matchedKycValidationIds | string[] | IDs of the KYC validations in your account that correspond to those sessions and have status approved in our database. |
faceSearch | object | Summary: status, totalMatches, approvedMatchesCount, requestId (for support). |
Example:
| Code | HTTP | Meaning |
|---|---|---|
NOT_CONFIGURED | 403 | Session-based KYC validation credentials are not set in organization KYC settings. |
NOT_ENABLED | 403 | Session-based KYC validation integration is not enabled for this organization. |
INVALID_REQUEST | 400 | Missing or invalid body (e.g. missing user_image, or neither entityId nor externalEntityId). |
NOT_FOUND | 404 | No entity found for the given externalEntityId in this organization. |
UNAUTHORIZED | 401 | Invalid or missing authentication. |
VERIFICATION_FAILED | 500 | Verification could not be completed; retry or contact support. |
POST /api/kyc/validations): Creates a KYC session, gives the user a hosted URL, and stores the result (including biometric data) when they complete the flow. Those sessions are what the Biometric endpoint checks against.POST /api/kyc/biometric): Sends one face image and checks if it matches any already approved session for that entity. Use it when you need to re-verify the same person (e.g. at login or for a new action) without starting a new session.