API reference · Onboarding

Compare OCR from videoselfie against OCR from ID v2

POST/omni/videoselfie/compare-ocr/v2

Base URL: https://demo-api.incodesmile.com — Incode demo environment

This endpoint is used to compare OCR from videoselfie frame against OCR from ID.

Path & query parameters

Name In Type Required Description
api-version header string yes

Request body

Field Type Required Description
base64Image string yes Base64 string representation of the image

Responses

200

OK

Response body (application/json):

Field Type Required Description
success boolean Flag indicating request passed successfully.
sessionStatus string Session status Enum: Alive, Closed, Deleted

400

Custom error statuses: - 5003: Unsatisfied image size - 5004: Document alignment failed - 5005: Document not found

Response body (application/json):

Field Type Required Description
timestamp integer (int64) UTC timestamp in milliseconds
status integer (int32) Custom error code or HTTP status code
error string HTTP status error
message string Custom error message
path string Endpoint path
details object Custom error details
Was this page helpful?