Autional Autional
API Reference GitHub autional.com →

POST /verification/liveness/verify

Submit liveness detection video Base64 data to verify user liveness actions; returns liveness score and pass status.

Verification Service `bearerAuth` application/json

Request Body

Schema: gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto.CompleteLivenessRequest

FieldTypeRequiredExampleConstraintsDescription
session_token string Yes
video_data string No

Responses

StatusDescriptionSchema
200Liveness detection result with score and pass statusdto.DataResponse-gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto_LivenessResultResponse
400Invalid request parametersdto.SimpleResponse
401Unauthenticated or invalid tokendto.SimpleResponse
500Internal server errordto.SimpleResponse

Referenced Schemas

dto.DataResponse-gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto_LivenessResultResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto.LivenessResultResponse No
message string No
timestamp string No

dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No

gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto.LivenessResultResponse

FieldTypeRequiredExampleConstraintsDescription
passed boolean No
score number No