To create an TFA template it’s easy, follow these steps:
Go to Customization;
Click on Two Factor Auth;
Fill the subject of email;
Fill the body with a nice HTML Code (Note: you are required to include the {{code}} tag);
Click on Save, that’s it.;
If you don’t want to fill the body with HTML, you need to put a {{code}} tag. |
After that, when your client request a TFA Code in the API by Email, your receiver will see a friendly Email:
HTML used in this tutorial:
<h1 class="text-center"> TFA Code sent by Botdoc. </h1> <label>Hi, you are receiving the TFA Code in order to open our protected links. </label> <h4> Your code Is: {{code}}</h4> <br> <label>Thanks for using our plataform</label> |
Go to Customization;
Click on Two Factor Auth;
Fill the body of: SMS - Two Factor Authentication Template, with a nice message;
If you fill the body, you are required to include the {{code}} tag;
Click on Save, that’s it.
After that, when your client requests a TFA Code in the API by SMS, your receiver will see a friendly SMS Text: