MFA authentication via API

MFA authentication via API

Hi Everyone,

Could you please assist me in configuring the MFA source for API authentication.
I have configured the MFA source as Duo , and it works fine while trying to authenticate using the URLs.
But while trying to authenticate using API , Endpoint central is sending an email to my registered email address instead of accepting the token code from my MFA app.

The $auth_response.message_response.authentication.two_factor_data is as follows:
unique_userID             : myuserid.12345
is_TwoFactor_Enabled      : True
OTP_mail_validity_minutes : 15
message                   : Mail has been sent to the mail address email.id@mydomain.com
remember_token_days       : 0
OTP_Validation_Required   : True

Please assist.
                New to ADManager Plus?

                  New to ADSelfService Plus?