Uber
Flipkart
Ola
Swiggy
Practo
Bluedart
Console

Explore Exotel's APIs

Exotel's Voice & SMS RESTful APIs are the easiest way to build high-quality communication applications on the cloud. Go ahead and start building the future of communication!

View API Docs
  • cURL
  • JS
  • PHP
  • Python
  • Ruby
Make a voice call
  • curl -X POST https://<your_sid>:<your_token>@api.exotel.com/v1/Accounts/<your_sid>/Calls/connect \
     -d "From=XXXXX30240" \
     -d "To=XXXXX85175" \
     -d "CallerId=0XXXX474890"
  • var request = require('request');
    
    var dataString = 'From=XXXXX30240&To=XXXXX85175&CallerId=0XXXX474890';
    
    var options = {
        url: 'https://<your_sid>:<your_token>@api.exotel.com/v1/Accounts/<your_sid>/Calls/connect',
        method: 'POST',
        body: dataString
    };
    
    function callback(error, response, body) {
        if (!error && response.statusCode == 200) {
            console.log(body);
        }
    }
    
    request(options, callback);
  • <?php
    include('vendor/rmccue/requests/library/Requests.php');
    Requests::register_autoloader();
    $headers = array();
    $data = array(
        'From' => 'XXXXX30240',
        'To' => 'XXXXX85175',
        'CallerId' => '0XXXX474890'
    );
    $response = Requests::post('https://<your_sid>:<your_token>@api.exotel.com/v1/Accounts/<your_sid>/Calls/connect', $headers, $data);
  • import requests
    
    data = {
      'From': 'XXXXX30240',
      'To': 'XXXXX85175',
      'CallerId': '0XXXX474890'
    }
    
    requests.post('https://<your_sid>:<your_token>@api.exotel.com/v1/Accounts/<your_sid>/Calls/connect', data=data)
  • require 'net/http'
    require 'uri'
    
    uri = URI.parse("https://<your_sid>:<your_token>@api.exotel.com/v1/Accounts/<your_sid>/Calls/connect")
    request = Net::HTTP::Post.new(uri)
    request.set_form_data(
      "From" => "XXXXX30240",
      "To" => "XXXXX85175",
      "CallerId" => "0XXXX474890",
    )
    
    req_options = {
      use_ssl: uri.scheme == "https",
    }
    
    response = Net::HTTP.start(uri.hostname, uri.port, req_options) do |http|
      http.request(request)
    end
    
    # response.code
    # response.body
Console

Explore Exotel's Applets

With the help of Applets, we offer you the possibility of building your own custom workflow using an easy app builder interface. All you have to do is drag and drop the necessary applets and configure it the way you want to. Give it a try by building a simple IVR!

View Applet Docs

Developers heart Exotel

Here is what developers have to say about Exotel and our APIs!

The Standard in Voice & SMS Communications

Fast, Reliable & Efficient Cloud Communications Platform

1.02 Billion Total calls powered
4.6 Million Calls powered in a single day
236 Million Total SMSes powered

Ready to Get Started?

Create your Exotel account for free right away and get started in 30 minutes or contact our integrations team for enterprise integration.

Subscribe to our Developer Newsletter

We'll keep you updated with interesting hacks built using our APIs, developer tools to ease your coding workflow, and our platform updates.

Thank you for subscribing!