• 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

We are currently in the process of updating this sample template. If you are encountering any issues with the sample, please open an issue at github.com/twilio-labs/code-exchange/issues and we’ll try to help you.

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

Deploy

OR

Read setup instructions

Step 4:Questions about scaling, pricing, or infrastructure? Talk to an expert

Don't see what you want?

There was an issue loading the page.

Please try again in some time.