Início » How to create and install default SafetyMails’ real time verification API in a registration form

How to create and install default SafetyMails’ real time verification API in a registration form

Also available in: Português

Turn your registration form into an email verification tool

The SafetyMails API allows you to create code for installation into your forms, preventing invalid email leads from entering your base.

By enabling this functionality, SafetyMails will generate a ready-to-install code in your forms.

If you are looking for how to install a Custom API for your website, click here.

 

Registering a source:

Remember that for this API to work you need to have a credit subscription activated (see how to subscribe).

To start the process just follow these steps:

  • Log into your Safetymails account (If you don’t have an account, create a new one and get 100 credits for free);
  • On the top menu, click on “Real-time API
  • Then, click on “Add a new source
  • Select the option “Standard installation

 

  • On the next screen, give the source you are creating a name;
  • Register the domain of your form (for example, if your form is at https://safetymails.com/form”, you should just enter “safetymails.com”);

 

  • After that select the option “On a website” from the list of options of where you want to use your API.

 

  • On the screen that will be displayed, you can configure your API permissions for forms, as follows:
    • Allowed statuses: defines which API response statuses will allow form registration.
    • Block domains from providers: enabling this function will prevent the registration of e-mails from ESP domains, such as Gmail.com, Yahoo.com, and others.

 

 

  • When you click “Finish“, the API installation script will be created and available for use.
  • The details of the API created will be described on this page.

 

Coding example

<script src=’https://optin.safetymails.com/main/safetyscript/28a389f6fd52************29fd837e8ee8c280′></script>

 

Where to install

In your form, paste the script into the HTML code, in the footer area. This is the ideal option, as it will ensure that the API is only executed after the page has fully loaded.

 

If you have any questions, be sure to talk to our support team. Contact us at [email protected]

More Reading

Post navigation