Generate & Send Code

This endpoint allows you to generate and send the Two Factor Authentication code to the end user.You need to provide the channel from which the code will be sent and phone number or email adrees from who will recieve the codeYou need to provide the code generator id you want to use, the channel where you want the code to be sent. If you want to send the code via SMS channel, provide the phone number to whom the 2FA message will be sent, otherwise provide the email address who will receive the 2FA message if you send the code via Email channel.Once the code has been generated and sent to the recipient, you will be provided with a request_id and the user will be provided with a security code that he requested.

Click Try It! to start a request and see the response here!