CDP Frontend SDK
    Preparing search index...

    Function verifySmsOTP

    • Verifies the one-time password (OTP) for the sign in flow with a phone number via SMS.

      Parameters

      Returns Promise<VerifySmsOTPResult>

      The result of the verification.

      const result = await verifySmsOTP({
      flowId: "flow-id-from-signInWithSms",
      otp: "123456" // The OTP received in SMS
      });