post https://elastic.messangi.me/eyriesgate/v1/2fa//codes
After setting up the code length, expiration time, delivery channel where the code will be sent, shortcode and message, you can start generating and sending via SMS, Email or WhatsApp, the security code to the provided destination address.
To generate a security code, you only need to specify the code generator id (“data.id”
) you want to use, the channel where you want the code to be sent and the phone number or email address to whom the 2FA message will be sent.
Therefore, this endpoint allows you to generate and send the Two Factor Authentication code to the end user.