Forms

Demio email validation integration

Check the email address of the people who register for your Demio webinars. One file on your own server checks the address before your own form registers someone with Demio, and a sweep reports the bad addresses among a session’s registrants.

Read the full setup guideGet an API key

  • Setup guide
  • One file for your server

route.tsNext.js, Hono, Express, Workers

TypeScript
const register = createDemioRegistration({
  apiKey: process.env.EV_API_KEY,
  demio: {
    apiKey: process.env.DEMIO_API_KEY,
    apiSecret: process.env.DEMIO_API_SECRET,
  },
});

At a glance.

Status
Setup guide. Not listed on a marketplace yet: you set it up yourself in a few steps, below and in the full guide.
For
Teams who run webinars on Demio and want a fake or mistyped address caught before it becomes a registrant, or told about soon after someone registers on Demio’s own page.
You need
A server of yours that runs TypeScript with fetch and Web Crypto, Demio’s API key and secret, and an API key made for it, with a daily credit cap. Demio’s free trial includes the API, with up to 100 API calls a day.
Costs
1 credit = 1 validated address, as with any API request. Free: unknown results, API errors, malformed addresses, test addresses on sandbox.email-validation.org, addresses on reserved domains such as example.com and, in a bulk list, repeats of an address (charged once).
Full guide
Read the full setup guide

Typical uses.

  • Keep bad addresses out of your webinars

    Your own registration form checks the address first and registers the person with Demio only when it is not one you stop: by default only invalid addresses.

  • Hear about registrations on Demio’s page

    A sweep on your schedule reads a session’s registrants, checks each address and tells your onResult function which ones are bad. Nothing in Demio changes.

  • Check in your own code

    checkRegistrationEmail checks an address from your server whenever your code needs it.

Set it up. 4 steps.

The short version of the full setup guide, which stays the reference when a step does not match what you see.

Read the full setup guide

  1. Download the file

    Download email-validation-demio.ts from the guide and copy it into your server code. It has no dependencies.

  2. Get Demio’s key and secret

    In Demio, open Account Settings, API, and put the key and secret in your server’s environment beside your API key.

  3. Register through your form

    Call createDemioRegistration from your form’s route: it checks the address, then registers the person and returns the join link.

  4. Sweep Demio’s own page

    Run createDemioSweep on a schedule for the sessions of the coming days and act on what onResult reports.

Good to know.

  • Demio’s registration page runs no code of yours and its API cannot remove a registrant, so the sweep only reports.

  • If our API is slow or down, your form registers the person as usual and your code is told the address was not checked.

  • Never register a test address with Demio: it emails every registrant. Call checkRegistrationEmail with a test address instead, at no cost.

  • region: 'eu' validates addresses in the EU and stores their results there, with the same key.

Connect Demio.

Test it on our sandbox addresses for free, then on your own contacts.

Create your accountRead the full setup guide

Updated · Maintained by: Email Validation LLC