Docs
Prerequisites
To use the JS Widget, your website must have a form that meets the following requirements:
Check the example below for more details:
Make sure you do not add any inline styles to the email input, as they will be removed by the widget.
Step 1:
Go to https://www.zerobounce.net/members/signin and sign in with your ZeroBounce account.
Go to the left-side menu and click Integrations.

Step 2:
On the Integrations page, select JS Widget from the Integration List. You can find it under Apps/Add-Ons.

Step 3:
Enter your website URL in the field that reads “Enter your JS Widget domain name.”
Then, click New Public API Key to generate an API key linked to the domain you entered.

Use only the domain to generate the API Key (e.g., https://test.mywebsite.com). Make sure that the URL starts with ‘ https:// ’. Also, ensure there is no ‘ / ‘ at the end of the URL. Failure to do so will result in validation issues.
Step 4:
In this section, you can manage your configurations:

Debug mode removes validation limits, but it's best not to keep it active for too long to safeguard your validation services against abuse.
The next section provides some advanced settings for your widget:
The order of validation for these limits is as follows: Timeout -> Throttle -> Validation success/unsuccessful

Every setting modification will update the code provided with the JS Widget integration. The user must always use the latest code generated on the go.
Step 5:
It’s recommended that you integrate the provided code snippet before closing the body tag. This implementation can be applied globally across your website or selectively targeted to specific pages where forms are present. Additionally, ensure that email input fields are appropriately configured with the specified attributes mentioned in Prerequisites: type="email" and class="zb-email".
Prior to utilizing the script, it’s crucial to ensure that you are operating within the appropriate environment. If your API key was generated on zerobounce.net, it’s imperative to reference the documentation and resources available on zerobounce.net exclusively. This adherence to the specific source is pivotal for seamless and efficient operation.
More information
The following images illustrate how a valid and an invalid email will be displayed.


Certain cases will allow the form to be submitted even if the email is invalid:
Emails that are considered valid include those categorized as catch-all, unknown and valid.