Autional Autional
API Reference GitHub autional.com →

POST /verification/liveness/begin

Initiate a liveness detection session, returns session token and action sequence (e.g., blink, open mouth, shake head, etc.); detection must be completed before session expiration.

Verification Service `bearerAuth` application/json

Request Body

Schema: gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto.BeginLivenessRequest

FieldTypeRequiredExampleConstraintsDescription
verification_id string Yes

Responses

StatusDescriptionSchema
200Liveness detection session token and action sequencedto.DataResponse-gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto_BeginLivenessResponse
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_BeginLivenessResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto.BeginLivenessResponse 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.BeginLivenessResponse

FieldTypeRequiredExampleConstraintsDescription
action_sequence string No
expires_at integer No
session_token string No