Triggers a reset of the verification process for a User token (phone or email).
This will invalidate any existing verification items and send a new verification item to the specified token.
Once this call is made, the BLOCKv Platform will send a verification item to the supplied token. Depending on your app id configuration, the user may receive a verification code. In this case, you should use the verify token call to complete verification.
import io.blockv.common.internal.net.rest.exception.BlockvException
import io.blockv.core.client.manager.UserManager.TokenType
//reset token
blockv.getUserManager().resendVerification(/*token,token-type*/)
Note: You can access the function through the UserManager
found in your blockv
singleton. See Getting Started
// blockv is the Blockv sdk singleton created in getting started
blockv.getUserManager()
.resendVerification("john.doe@example.com", UserManager.TokenType.EMAIL)
.subscribe(() -> {/*Success*/},
throwable -> {/*Failure*/});
// blockv is the Blockv sdk singleton created in getting started
blockv.getUserManager()
.resendVerification("+11234567890", UserManager.TokenType.PHONE_NUMBER)
.subscribe(() -> {/*Success*/},
throwable -> {/*Failure*/});