• Home
  • >
  • One-click Email Verification with "Magic Links"

One-click Email Verification with "Magic Links"

By Twilio

  • Verify
  • Email
  • Twilio
  • Quick Deploy
  • Applications

This app will show you an example of how to build one-click email verification using the Twilio Verify API and Twilio SendGrid API.

This sample uses function templates to quickly create and deploy serverless functions you can use to interface with the Twilio Verify API from your production application. The interface provided allows you to test the functions.

🚨🚨🚨

This application requires additional configuration using Twilio SendGrid. Please follow steps 1-6 in the documentation, using this code in your SendGrid email template. 

🚨🚨🚨

magic-link-demo.gif

How it works:

  1. User enters their email
  2. App populates the email template and sends email to the user
  3. User clicks the link in their email
  4. App verifies the token
Launch and test this app in a few minutes with Quick Deploy. No server needed. Quick Deploy will automatically configure and deploy this app using Twilio Functions. Learn more about Twilio Functions
Step 1:Sign into your Twilio account
Sign in
You need to be signed in before you can deploy this application
Step 2:Customize your application
Step 3:Deploy your application with a click
When you click "Deploy your application", we will automatically use your custom details above to deploy your app to Twilio Functions. You can view the application in the browser and edit it to fit your needs using the Functions UI.
Deploying applicationThis might take up to a minute
Oops...something went wrong. Retry
You have reached a maximum number of deployments. Please delete unused services before trying again. Delete unused services
Step 4:Edit your application
Once deployed, any edits to the fields above will not be applied to your app. To make changes, here are two options
Refresh the page, edit customizations and re-deploy the application
Edit your customizations directly in code
Why use Quick Deploy?
No coding required to launch
Easy to edit and iterate post launch
No server management
Scales automatically
Secure by default

Don't see what you want?

There was an issue loading the page.

Please try again in some time.