Forms
Cal.com email validation integration
Check the email address of each person who books a meeting with you on Cal.com. A small webhook receiver on your own server checks each new booking and hands the result to your code; if you switch it on, it cancels the booking, or declines it while it waits for your confirmation.
Read the full setup guideGet an API key
- Setup guide
- One file for your server
export const POST = createCalcomBookingHook({
apiKey: process.env.EV_API_KEY,
secret: process.env.CALCOM_WEBHOOK_SECRET,
onResult: async (r) => { if (r.outcome === 'stopped') await notifyTeam(r); },
});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 take bookings on Cal.com and want to know, right after a booking, when the booker’s address is invalid, so a fake or mistyped booking is caught before the meeting.
- You need
- A server of yours that runs TypeScript with
fetchand Web Crypto, a Cal.com account (webhooks are on every plan, Free included), and an API key made for it, with a daily credit cap. - 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.
Hear about bad addresses at once
Each new booking is checked right after it is made, and your onResult function gets the outcome: send it to Slack, your CRM or a review queue.
Cancel or decline invalid bookings
Opt in with onStop cancel: a booking whose address is invalid is cancelled through Cal.com’s API, or declined while it waits for your confirmation. Bookings with seats are never cancelled.
Check in your own booking flow
checkBookingEmail checks an address from your server before your code creates a booking through Cal.com’s API.
Set it up. 3 steps.
The short version of the full setup guide, which stays the reference when a step does not match what you see.
Download the file
Download email-validation-calcom.ts from the guide and copy it into your server code. It has no dependencies.
Add a route
Create the receiver with your key and a webhook secret you choose, and answer Cal.com’s webhook with it.
Create the webhook in Cal.com
In Cal.com, Settings, Developer, Webhooks, New: your route’s address, the triggers Booking Created and Booking Requested, and the same secret.
Good to know.
Cal.com cannot block a booking: its webhook arrives after the booking exists. The receiver checks right after it.
If our API is slow or down, the booking stays as it is and your code is told it was not checked.
Never book with a test address that cannot receive mail: Cal.com would mail it. Call checkBookingEmail 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 Cal.com.
Test it on our sandbox addresses for free, then on your own contacts.
Updated · Maintained by: Email Validation LLC