Verify an SMS or email-based challenge by submitting a verification code.
Use your Authsignal secret key as the username and leave the password empty. The secret key can be found in the API Keys section of the Authsignal Portal settings page.
OK
True if the verification code is valid.
The verification method used for the challenge if successful.
SMS, EMAIL_OTP, WHATSAPP The phone number for which the challenge was initiated. Only present if verification is successful and the verification method is 'SMS' or 'WHATSAPP'.
The email address for which the challenge was initiated. Only present if verification is successful and the verification method is 'EMAIL_OTP'.
CODE_INVALID_OR_EXPIRED, MAX_ATTEMPTS_EXCEEDED