Autional Autional
API Reference GitHub autional.com →

POST /auth/recovery/verify

Verify the recovery code received from the trusted contact; upon successful verification, return confirmation allowing the user to proceed to the password reset step. References: NIST SP 800-63B §5.1.1.2, OWASP ASVS V2.3.

Authentication None application/json

Request Body

Schema: dto.VerifyAccountRecoveryRequest

FieldTypeRequiredExampleConstraintsDescription
code string Yes Verification code
recovery_token string Yes Recovery token

Responses

StatusDescriptionSchema
200Recovery verification code validated successfullygitee_com_linmes_authms_base_dto.SimpleResponse
400Invalid request parameters or expired recovery codegitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No