T4Face Facial Recognition
Body
usernamestringRequiredExample:
Username/Person ID
john_doeimagestringRequired
Base64 encoded face image
emailstringOptional
Email (optional)
phoneNumberstringOptional
Phone number (optional)
Responses
201
Account created successfully
400
Invalid request or face already registered
post
/t4face/auth/signupNo content
Body
usernamestringRequiredExample:
Username/Person ID
john_doeimagestringRequired
Base64 encoded face image
sessionIdstringOptional
Session ID for tracking authentication flow
Responses
200
Login successful
No content
401
Authentication failed
post
/t4face/auth/signinNo content
Body
imagestringRequired
Base64 encoded face image
hit_thresholdnumberOptional
Hit threshold for face identification (default: 81)
sessionIdstringOptional
Session ID for tracking authentication flow
Responses
200
Authentication successful (signin or signup)
No content
401
Authentication failed
post
/t4face/auth/smart-loginNo content
Body
user_idstringRequired
User ID
methodstring · enumRequiredPossible values:
Two-factor method
sessionIdstringOptional
Session ID for tracking authentication flow
Responses
200
OTP sent successfully
No content
400
Invalid request or rate limit exceeded
post
/t4face/auth/2fa/send-otpNo content
Last updated