API for sending one-time verification code via email

Hi,
I am sending one -time-verification code via email using below code. But I wont verify that code. I dont know which API to use to post received code back to okta for verification. Can anyone help me?

Configuration config = new Configuration();
config.OktaDomain = “https://dev-32544956.okta.com”;
// Configure API key authorization: apiToken
config.Token =“00e0mYaiFsPzZvq9I-e-SbrcU15xnQQ61MMXElHUzv”;
//// Configure OAuth2 access token for authorization: oauth2
//config.AccessToken = “YOUR_ACCESS_TOKEN”;

var userFactorApi = new UserFactorApi(config);
var response = userFactorApi.VerifyFactorWithHttpInfoAsync(userId,factorId);