Forms

Calendly integration

Check the email address of each person who books a meeting with you on Calendly. A small webhook receiver on your own server checks each new invitee and hands the result to your code; if you switch it on, it cancels a one-on-one meeting whose address is invalid.

Read the full setup guideGet an API key

  • Setup guide
  • One file for your server

route.tsNext.js, Hono, Express, Workers

TypeScript
const handle = createCalendlyWebhookHandler({
  apiKey: process.env.EV_API_KEY,
  signingKey: process.env.CALENDLY_WEBHOOK_SIGNING_KEY,
  calendlyToken: process.env.CALENDLY_TOKEN,
  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 Calendly and want to know, right after a booking, when the invitee’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 fetch and Web Crypto, a Calendly personal access token, and an API key made for it, with a daily credit cap. Webhooks and the API are on every Calendly plan, Free included.
Costs
1 credit = 1 validated address, as with any API request. Free: unknown results, API errors, malformed addresses and test addresses on sandbox.email-validation.org.
Full guide
Read the full setup guide

Typical uses.

  • Hear about bad addresses at once

    Each new invitee is checked right after the booking, and your onResult function gets the outcome: send it to Slack, your CRM or a review queue.

  • Cancel invalid one-on-one meetings

    Opt in with onStop cancel: a one-on-one meeting whose address is invalid is cancelled through Calendly’s API. Group events are never cancelled.

  • Check in your own booking flow

    checkBookingEmail checks an address from your server before you send someone to book.

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-calendly.ts from the guide and copy it into your server code. It has no dependencies.

  2. Create a Calendly token

    In Calendly, open your profile menu, Developer, Personal access tokens, and create one with users:read, webhooks:write and scheduled_events:read.

  3. Add a route

    Create the handler with your key, a signing key you choose and the token, and answer Calendly’s webhook with it.

  4. Subscribe to invitee.created

    Calendly creates webhooks through its API: post the subscription with your route’s address and the signing key.

Good to know.

  • Calendly cannot block a booking: its webhook arrives after the meeting exists. The receiver checks right after, and nothing is written back to Calendly.

  • If our API is slow or down, the meeting stays as it is and your code is told it was not checked.

  • Never book with a test address that cannot receive mail: Calendly 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 Calendly.

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