Autional Autional
API Reference GitHub autional.com →

POST /mfa/sms/verify

Verify the SMS verification code input by the user to complete SMS MFA authentication. Rate limiting is applied. Reference: OWASP ASVS V2.8.

Multi-Factor Authentication `bearerAuth` application/json

Request Body

Schema: dto.SMSVerifyRequest

FieldTypeRequiredExampleConstraintsDescription
code string Yes
phone string No Phone number, used to create an MFAConfig record

Responses

StatusDescriptionSchema
200Verification Resultdto.SMSVerifyDetailResponse
400Invalid Parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthenticatedgitee_com_linmes_authms_base_dto.SimpleResponse
429Request Too Frequentgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal Server Errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.SMSVerifyDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.SMSVerifyResponse No
message string No
timestamp string No

dto.SMSVerifyResponse

FieldTypeRequiredExampleConstraintsDescription
valid boolean No True

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No