• Home
  • >
  • International Telephone Input Validation

International Telephone Input Validation

By Twilio

  • Verify
  • Twilio
  • Quick Deploy
  • Applications

This project will show you one way to validate phone number inputs with the intl-tel-input plugin and Twilio's Lookup API. For a production use case we recommend adding phone verification, which is a best practice for collecting phone numbers from your users in order to make sure they have control of the number.

phone number input translated to e.164 format

How it works:

  1. User selects their country from the drop down and enters their phone number
  2. App validates phone number validity with the Twilio Lookup API
  3. App displays the phone number in E.164 format

For more information, check out this blog post on building international phone number input.

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
Log in to your Twilio account
Step 2:Deploy your application with a click
When you click "Deploy my 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
Step 3:View and edit your application
Once deployed, any changes 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.