Skip to main content
  • Home
  • >
  • Click to Call

Click to Call

By Twilio

  • Voice
  • Twilio
  • Applications

This sample app shows you how to add click-to-call to your website to enable your company to convert web traffic into voice calls with the click of a button.

High level flow:

  1. A user enters their phone number into a website
  2. The website makes a request to Twilio
  3. Twilio initiates a call between the user and an agent

Detailed flow:

  1. A visitor to your website submits a web form with their phone number
  2. Your web application receives the submission and initiates an HTTP request to Twilio to initiate an outbound phone call
  3. Twilio receives the request and initiates a call to the user's phone number
  4. The user picks up the call
  5. After the call connects, we provide use TwiML to connect the user to our sales or support teams

Step 1: Choose a language

Step 2: You need an API key to get started

Get a free API key

Step 3: Set up the code sample locally



Read setup instructions

Don't see what you want? Request a code sample Explore Docs

Questions about scaling, pricing, or which products/features to use? Get a consultation

There was an issue loading the page.

Please try again in some time.