Platform API · API Docs · eKYC Platform

Verify selfie

POST/ekyc/platform/verify_selfie

Uploads selfie images, runs liveness detection and face matching, and returns the final verification result synchronously.

Request

MethodPOST
Path/ekyc/platform/verify_selfie
Content-Typeapplication/json
Auth requiredYes — Bearer access_token
NameTypeRequiredDescription
imagesarrayRequiredArray of selfie images: [{ "base64": "<base64_string>", "metadata": "<string>" }]. The last element is the primary selfie.
selfie_typestringOptionalType of selfie flow (e.g. passive, flash)

Response

data.status carries the verification result. The data fields are identical to Verify ID — same names, same types, same meanings.

JSON
{
  "data": {
    "status": "success",
    "error_code": "",
    "error_message": {},
    "label": "portrait",
    "next_action": "",
    "application_state": ""
  },
  "message": "verify selfie completed",
  "time": "2026-01-01T00:00:00Z",
  "verdict": "success"
}

Failure codes

The top-level verdict names the outcome, alongside the HTTP status code:

verdictStatus codeDescription
success200Verification completed (check data.status for result).
invalid_parameters400images is empty or contains invalid base64 data.
missing_authorization401Bearer access_token is missing.
expired_token401Access token expired — call Initialize again.
record_not_found404Session referenced by the access token no longer exists (expired or reset).
limit_exceeded429A verification is already in progress for this session.
failure500Internal server error or verification timeout.