All articles
    Developers

    Email Verification API Documentation: A Simple Guide for Cleaner Email Data

    How an email verification API works, where to place it in signup forms, bulk list cleaning and CRM flows, and how to turn valid, risky, catch-all and unknown results into clear next steps.

    VeriMailX Team July 29, 2026 12 min read
    Email Verification API Documentation: A Simple Guide for Cleaner Email Data

    Key takeaways

    • A verification API checks format, domain, MX records, mailbox, catch-all and disposable signals — not just the @ sign.
    • Call the API from your server, never from browser JavaScript where the private key is exposed.
    • Map each result to an action: valid → allow, invalid → ask for a correction, catch-all/unknown → confirm ownership by email.
    • Do not delete every risky record. Segment instead, and send to confirmed-valid addresses first.
    • Verification checks quality before you send; email confirmation proves ownership after signup. Use both.
    • Cache results and avoid re-checking unchanged addresses — verification has a cost per lookup.

    Email addresses are often the starting point of a customer relationship. People use them to sign up, request a demo, download a guide, receive invoices, and join newsletters. But an email address can be typed incorrectly, belong to a temporary inbox, or point to a domain that no longer accepts mail.

    That is where an email verification API helps.

    The VeriMailX Email Verification API lets your application check an email address while a user is signing up, submitting a form, or being added to a CRM. It can also help you process larger contact lists before launching a campaign. The goal is simple: identify addresses that are safe to use, flag risky ones, and reduce avoidable email bounces.

    This guide explains what an email verification API does, how to use it in a practical way, and how to make sensible decisions from the result.

    What is an email verification API?

    An email verification API is a service that receives an email address from your application and returns information about its quality and deliverability.

    Instead of only checking whether an address contains @ and a domain name, a good verification process can look at several signals:

    • Is the email format valid?
    • Does the domain exist?
    • Does the domain have mail servers configured?
    • Is the mailbox likely to accept messages?
    • Is the domain a catch-all domain?
    • Is the address from a disposable email provider?
    • Is it a role-based address, such as sales@ or support@?

    VeriMailX is designed for real-time and bulk validation. You can use it before a form is submitted, or upload a CSV file when you need to review a large list.

    The API does not replace good permission practices. You should still collect email addresses with consent and follow applicable privacy laws. Verification helps you maintain a cleaner list; it does not make unsolicited email acceptable.

    Why verify email addresses?

    A poor-quality email list can create problems beyond a few bounced messages.

    High bounce rates can hurt sender reputation. When email providers see repeated deliveries to invalid addresses, they may begin filtering more of your future messages into spam folders. This can affect emails sent to valid contacts too.

    Verification can help you:

    • Reduce hard bounces
    • Protect your sending reputation
    • Avoid paying to send emails that will never arrive
    • Keep CRM records cleaner
    • Stop fake signups and low-quality form submissions
    • Ask users to correct a likely typo before it becomes a support issue

    For example, if someone enters maria@gmial.com, a simple form may accept it. A verification step can identify that the domain appears incorrect and allow the person to fix it immediately.

    How the verification process works

    When your application sends an address to an email verification API, the service checks it in stages. The exact checks and result fields depend on the API documentation and plan you use, but the process commonly includes the following steps.

    1. Syntax check

    The first check looks at the structure of the address:

    • alex@example.com has a normal structure
    • alex.example.com is missing @
    • alex@ is incomplete

    Syntax alone is not enough. An address can look correct and still be unusable. That is why deeper checks matter.

    2. Domain and MX record check

    The API checks whether the domain exists and whether it is configured to receive email.

    For example, person@company-does-not-exist.example may have valid-looking syntax, but the domain may not exist. A domain without valid mail routing should not be treated as deliverable.

    3. Mailbox and SMTP-level checks

    A deeper verification process may check whether the mail server is likely to accept messages for the mailbox. This gives a more useful answer than syntax and domain checks alone.

    However, modern mail providers do not always reveal full mailbox information. Some deliberately limit responses to prevent abuse. Because of this, a responsible API may return an unknown or risky result instead of claiming certainty where certainty is not possible.

    4. Catch-all detection

    A catch-all domain accepts email for many or all mailbox names, even when a specific mailbox may not belong to a real person. A domain might accept messages sent to both real.person@business.com and random-name-938@business.com.

    Catch-all addresses are not automatically bad. They simply require more care. A sales team might choose to contact them with a lower sending priority, while a marketing team may choose not to include them in a high-volume campaign.

    5. Disposable email detection

    Disposable email addresses are temporary inboxes often used for short-term access or anonymous signups.

    A user may use one to access a free trial, but they are usually not a reliable contact for a long-term newsletter or product onboarding sequence. If your product allows free accounts, you may want to permit disposable addresses but limit sensitive actions until the account is verified.

    Before you start

    Before connecting VeriMailX to your website or application, prepare the following:

    • A VeriMailX account
    • An API key from your account dashboard
    • Access to your application's backend or server-side environment
    • A clear plan for how your app should handle valid, invalid, risky and unknown results

    Keep your API key private. Do not place it in public browser JavaScript, public repositories, screenshots, or client-side mobile code. Requests should usually be made from your server.

    You should also set up usage monitoring. Email verification has a cost, so it is wise to avoid checking the same email address repeatedly when it has not changed.

    A typical API request flow

    A basic real-time workflow looks like this:

    • A visitor enters an email address in a form
    • Your application checks whether the field is empty or obviously malformed
    • Your server sends the address to VeriMailX
    • VeriMailX returns a result
    • Your application decides what message or action is appropriate
    • The form is submitted, blocked, or marked for review

    The exact endpoint, authentication method, request fields and response fields should come from your official account documentation. Do not copy an endpoint from another provider and assume it will work.

    A conceptual request sends a JSON body such as { "email": "person@example.com" } to your VeriMailX verification endpoint, with an Authorization: Bearer YOUR_PRIVATE_API_KEY header and Content-Type: application/json.

    A conceptual response may return status: "valid" alongside boolean flags such as disposable: false and catch_all: false. These field names are examples only — use the field names and status values shown in the VeriMailX API documentation for your account.

    Practical example 1: validate a signup form

    Imagine that you run a SaaS product with a free trial. You want genuine users to sign up easily, but you also want to reduce fake or mistyped accounts.

    A good approach is not to reject every address that is less than perfect. Instead, use different actions for different results:

    • Valid — allow signup normally
    • Invalid — ask the user to correct the email
    • Disposable — allow or restrict based on your product policy
    • Catch-all — allow signup, but verify ownership through an email link
    • Unknown — allow signup, then require email confirmation

    For an invalid result, use simple language: *"This email address may not receive messages. Please check it and try again."* Avoid showing technical terms such as "SMTP failure" to everyday users. They only need to know what to do next.

    A helpful extra step is email confirmation. Even if an address looks valid, sending a confirmation link proves that the user controls it. Verification checks quality before you send; confirmation proves ownership after signup.

    Practical example 2: clean a marketing list before sending

    Suppose your team has a CSV file with 50,000 contacts collected over several years. Some people may have changed jobs, some domains may have expired, and some addresses may have been entered incorrectly.

    Before uploading the list to your email platform, review it with bulk verification:

    • Keep an untouched copy of the original CSV
    • Upload a duplicate to your verification workflow
    • Add result columns such as status, disposable, catch-all and reason
    • Separate valid addresses from invalid and risky addresses
    • Exclude clearly invalid addresses from the campaign
    • Treat catch-all and unknown records carefully
    • Track bounce rate after the campaign and compare it with past sends

    Do not automatically delete every risky record. Some could still belong to real customers. Instead, create segments. You may decide to send only to valid records first, then test a small and carefully monitored batch of risky records later.

    This protects your sender reputation while preserving useful customer data.

    Practical example 3: check leads before adding them to a CRM

    Sales teams often collect leads from forms, events, referrals or integrations. If a sales representative spends time on invalid contact data, the team loses time and trust in the CRM.

    Use the API when a lead is created:

    • Check the email address
    • Add the result to the CRM record
    • Route invalid records to a review queue
    • Label risky records clearly for the sales team
    • Prevent automated sequences from starting for clearly invalid emails

    For example, your CRM could store an Email status field with values such as Valid, Catch-all, Disposable, Invalid or Unknown. This is much more useful than hiding the result — it allows your team to make an informed decision.

    Choosing the right rules for your business

    There is no single rule that works for every business.

    An online store may allow nearly every address at checkout, because blocking a genuine buyer can reduce sales. It can still send an order confirmation and ask the customer to fix the address if delivery fails.

    A B2B software company may be stricter with free trials, because temporary inboxes and fake signups can create support and abuse problems.

    A newsletter publisher may choose to reject disposable addresses, because the goal is long-term engagement.

    Start with simple rules, monitor the results, and improve them based on real data. Do not make your form so strict that genuine visitors cannot complete it.

    Privacy and security considerations

    Email addresses are personal data in many regions. Handle them carefully.

    Only send data that you need for verification. Store verification results for a reasonable period, and make sure your privacy policy explains how you use customer data and service providers.

    Keep API keys on the server. Rotate them if you suspect exposure. Restrict access to staff members who need it, and do not include full API responses in public logs.

    If you upload bulk lists, make sure the file is stored securely and removed when it is no longer needed.

    Final thoughts

    An email verification API is most useful when it becomes part of a thoughtful data-quality process. Use it at signup, before major campaigns, and when new leads enter your CRM.

    VeriMailX can help you identify invalid, risky, disposable and catch-all addresses before they create expensive problems. Use the result to guide a clear next step for the user or your team. Keep the process simple, protect privacy, and combine verification with consent and email confirmation.

    Cleaner data leads to fewer bounces, better sender reputation, and more confidence in every email you send.

    Frequently asked questions

    Ready to clean your list?

    Verify your emails with VeriMailX and send your next campaign with more confidence, fewer bounces and better results. Unlimited free single email verification — no card required.

    Keep reading

    MCP

    What Is an MCP Server? A Plain-English Guide to Model Context Protocol

    An MCP server lets AI assistants like Claude, ChatGPT and Cursor call real tools and read real data. Here is what Model Context Protocol is, how an MCP server works, and when you need one.

    Read
    MCP

    How to Build an MCP Server: A Step-by-Step Developer Guide

    A practical walkthrough for building an MCP server — choosing a transport, defining tools and schemas, handling auth and errors, testing with MCP Inspector, and shipping it to Claude, ChatGPT and Cursor.

    Read
    MCP

    Remote MCP Servers and OAuth: How Authentication Works

    Remote MCP servers let anyone connect a hosted tool to Claude, ChatGPT or Cursor with a URL. Here is how OAuth 2.1, dynamic client registration and per-user scoping keep those connections safe.

    Read