CINXE.COM

Exotel Developer Portal

<style> .content{ margin-top:0px !important; } @media only screen and (max-width: 600px) { .table-responsive{ display: block !important; } .alert-info{ word-break: break-all !important; } .product-search { margin-top: 0vh !important; } } </style> <!DOCTYPE html> <html lang="en" style="margin-top: 0rem !important;"> <head> <meta charset="utf-8"> <meta name="viewport" content=" initial-scale=1.0"> <title>Exotel Developer Portal</title> <meta charset="UTF-8"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous"> <link href='https://fonts.googleapis.com/css?family=Nunito Sans' rel='stylesheet'> <meta name='robots' content='max-image-preview:large' /> <link rel='dns-prefetch' href='//fonts.googleapis.com' /> <link rel='dns-prefetch' href='//s.w.org' /> <link rel='dns-prefetch' href='//www.googletagmanager.com' /> <script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/developer.exotel.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.8.10"}}; !function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode;p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(!p||!p.fillText)return!1;switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])?!1:!s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!s([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]);case"emoji":return!s([10084,65039,8205,55357,56613],[10084,65039,8203,55357,56613])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(n=t.source||{}).concatemoji?c(n.concatemoji):n.wpemoji&&n.twemoji&&(c(n.twemoji),c(n.wpemoji)))}(window,document,window._wpemojiSettings); </script> <style type="text/css"> img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 .07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } </style> <link rel='stylesheet' id='wp-block-library-css' href='https://developer.exotel.com/wp-includes/css/dist/block-library/style.min.css?ver=5.8.10' type='text/css' media='all' /> <link rel='stylesheet' id='contact-form-7-css' href='https://developer.exotel.com/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.5.3' type='text/css' media='all' /> <link rel='stylesheet' id='pld-font-awesome-css' href='https://developer.exotel.com/wp-content/plugins/posts-like-dislike/css/fontawesome/css/all.min.css?ver=1.0.6' type='text/css' media='all' /> <link rel='stylesheet' id='pld-frontend-css' href='https://developer.exotel.com/wp-content/plugins/posts-like-dislike/css/pld-frontend.css?ver=1.0.6' type='text/css' media='all' /> <link rel='stylesheet' id='wp-pagenavi-css' href='https://developer.exotel.com/wp-content/plugins/wp-pagenavi/pagenavi-css.css?ver=2.70' type='text/css' media='all' /> <link rel='stylesheet' id='search-filter-plugin-styles-css' href='https://developer.exotel.com/wp-content/plugins/search-filter-pro/public/assets/css/search-filter.min.css?ver=2.5.11' type='text/css' media='all' /> <link rel='stylesheet' id='main-styles-css' href='https://developer.exotel.com/wp-content/themes/exotel/style.css?ver=1669217987' type='text/css' media='' /> <link rel='stylesheet' id='font-css' href='https://fonts.googleapis.com/css?family=Muli%3A300%2C400%2C600%2C800&#038;ver=5.8.10' type='text/css' media='all' /> <link rel='stylesheet' id='style-css' href='https://developer.exotel.com/wp-content/themes/exotel/assets/css/styles.css?ver=5.8.10' type='text/css' media='all' /> <script type='text/javascript' src='https://developer.exotel.com/wp-includes/js/jquery/jquery.min.js?ver=3.6.0' id='jquery-core-js'></script> <script type='text/javascript' src='https://developer.exotel.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.3.2' id='jquery-migrate-js'></script> <script type='text/javascript' id='pld-frontend-js-extra'> /* <![CDATA[ */ var pld_js_object = {"admin_ajax_url":"https:\/\/developer.exotel.com\/wp-admin\/admin-ajax.php","admin_ajax_nonce":"2ea8e33e15"}; /* ]]> */ </script> <script type='text/javascript' src='https://developer.exotel.com/wp-content/plugins/posts-like-dislike/js/pld-frontend.js?ver=1.0.6' id='pld-frontend-js'></script> <script type='text/javascript' id='search-filter-plugin-build-js-extra'> /* <![CDATA[ */ var SF_LDATA = {"ajax_url":"https:\/\/developer.exotel.com\/wp-admin\/admin-ajax.php","home_url":"https:\/\/developer.exotel.com\/","extensions":[]}; /* ]]> */ </script> <script type='text/javascript' src='https://developer.exotel.com/wp-content/plugins/search-filter-pro/public/assets/js/search-filter-build.min.js?ver=2.5.11' id='search-filter-plugin-build-js'></script> <script type='text/javascript' src='https://developer.exotel.com/wp-content/plugins/search-filter-pro/public/assets/js/chosen.jquery.min.js?ver=2.5.11' id='search-filter-plugin-chosen-js'></script> <link rel="https://api.w.org/" href="https://developer.exotel.com/wp-json/" /><link rel="alternate" type="application/json" href="https://developer.exotel.com/wp-json/wp/v2/pages/6938" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://developer.exotel.com/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://developer.exotel.com/wp-includes/wlwmanifest.xml" /> <meta name="generator" content="WordPress 5.8.10" /> <link rel="canonical" href="https://developer.exotel.com/api/url-shortening" /> <link rel='shortlink' href='https://developer.exotel.com/?p=6938' /> <link rel="alternate" type="application/json+oembed" href="https://developer.exotel.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fdeveloper.exotel.com%2Fapi%2Furl-shortening" /> <link rel="alternate" type="text/xml+oembed" href="https://developer.exotel.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fdeveloper.exotel.com%2Fapi%2Furl-shortening&#038;format=xml" /> <meta name="generator" content="Site Kit by Google 1.68.0" /><style></style> <!-- Google Tag Manager snippet added by Site Kit --> <script type="text/javascript"> ( function( w, d, s, l, i ) { w[l] = w[l] || []; w[l].push( {'gtm.start': new Date().getTime(), event: 'gtm.js'} ); var f = d.getElementsByTagName( s )[0], j = d.createElement( s ), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore( j, f ); } )( window, document, 'script', 'dataLayer', 'GTM-TSLF3FD' ); </script> <!-- End Google Tag Manager snippet added by Site Kit --> <link rel="icon" href="https://developer.exotel.com/wp-content/uploads/2023/04/cropped-white-bg-X-01-1-32x32.png" sizes="32x32" /> <link rel="icon" href="https://developer.exotel.com/wp-content/uploads/2023/04/cropped-white-bg-X-01-1-192x192.png" sizes="192x192" /> <link rel="apple-touch-icon" href="https://developer.exotel.com/wp-content/uploads/2023/04/cropped-white-bg-X-01-1-180x180.png" /> <meta name="msapplication-TileImage" content="https://developer.exotel.com/wp-content/uploads/2023/04/cropped-white-bg-X-01-1-270x270.png" /> <!-- Link Swiper's CSS --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper/swiper-bundle.min.css"/> <style> html { margin-top: 0% !important; } .carousel-indicators .active{ width: 20px; } @media (min-width: 1441px){ .nav-container { width: 1170px !important; } nav ul.nav { margin-top: 0px !important; } } @media (min-width: 1200px){ .nav-container { width: 1170px !important; } nav ul.nav { margin-top: 0px !important; } } .rotateimg180 { -webkit-transform:rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); -o-transform: rotate(180deg); transform: rotate(180deg); } .res-nav{ align-items: center; } @media only screen and (min-width: 1200px) { .res-nav{ display: flex !important; align-items: center; justify-content: center; } } .searchoverlay { height: 0%; width: 100%; position: fixed; top: 0; left: 0; background-color: white; overflow-y: hidden; transition: 0.5s; z-index: 99 !important; margin-top: 5em !important; border-bottom: 2px solid #0098FF; } .searchoverlay-content { position: relative; width: 100%; text-align: center; margin-top: 45px; } .searchoverlay .closebtn { position: absolute; top: 35px; right: 45px; font-size: 60px; opacity: 1; z-index: 999 !important; text-decoration: none !important; } .sf-field-search label input{ border-bottom: none !important; border: 1px solid #0098FF !important; } @media screen and (max-height: 450px) { .searchoverlay {overflow-y: auto;} .searchoverlay a {font-size: 20px} .searchoverlay .closebtn { font-size: 40px; top: 15px; right: 35px; opacity: 1; z-index: 999 !important; color: white !important; text-decoration: none !important; } } ::-webkit-scrollbar { width: 5px; } /* Track */ ::-webkit-scrollbar-track { box-shadow: inset 0 0 5px grey; border-radius: 5px; } /* Handle */ ::-webkit-scrollbar-thumb { background: lightgray; border-radius: 5px; } /* Handle on hover */ ::-webkit-scrollbar-thumb:hover { background: lightgray; } #myGlobalSearchNav{ z-index: 99 !important; } .gbl-spc{ margin-top:-2.35rem !important; } @media only screen and (max-width: 600px) { .gbl-spc{ margin-top:-1.35rem !important; } .searchoverlay-content { padding:3rem 1rem !important; } .searchoverlay .closebtn { top:0px !important; right: 10px !important; font-size: 50px !important; } } @media (min-width: 768px){ .navbar { border-radius: 0px !important; } } </style> </head> <body> <!-- Start: Over Nav --> <div id="myNav" class="overlay hidden-lg" style="overflow-y: scroll;overflow-x: hidden;z-index:9999;"> <a href="javascript:void(0)" class="closebtn " onclick="closeNav()">&times;</a> <div class="overlay-content slide-left hidden-lg" style="z-index:9999;" > <div style="background: #FFFF;position:absolute;width:100%;"> <div class="row" style="margin-left: 0px;margin-right: 0px;margin-top: 3px;background: #0000;"> <div class="col-md-12" style="height: 64px;padding-top: 12px;left:10px;"><img src="https://developer.exotel.com/wp-content/uploads/2019/10/ExotelDeveloper-Logo.svg" alt=""> <svg onclick="closeNav()" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" style="font-size: 40px;position: absolute;right: 30px;color: #0098FF;" > <a href="javascript:void(0)" class="closebtn" > <path d="M6.2253 4.81108C5.83477 4.42056 5.20161 4.42056 4.81108 4.81108C4.42056 5.20161 4.42056 5.83477 4.81108 6.2253L10.5858 12L4.81114 17.7747C4.42062 18.1652 4.42062 18.7984 4.81114 19.1889C5.20167 19.5794 5.83483 19.5794 6.22535 19.1889L12 13.4142L17.7747 19.1889C18.1652 19.5794 18.7984 19.5794 19.1889 19.1889C19.5794 18.7984 19.5794 18.1652 19.1889 17.7747L13.4142 12L19.189 6.2253C19.5795 5.83477 19.5795 5.20161 19.189 4.81108C18.7985 4.42056 18.1653 4.42056 17.7748 4.81108L12 10.5858L6.2253 4.81108Z" fill="currentColor"> </path> </a> </svg> <div style="margin-top: 29px;margin-bottom:20%"> <div class="col-md-12" style="padding-right: 0px;padding-left: 0px;"> <div><a class="btn btn-default" role="button" href="https://developer.exotel.com/" style="width: 98%;text-align: left;background: rgba(255,255,255,0);font-size: 20px;border-style: none;box-shadow: none;background: transparent;padding-left: 12px;margin-top: 10px;margin-bottom: 10px;"><span>Home</span> </a> </div> <div > <div onclick="funcollapse('collapse-1')"> <a class="btn btn-default coll" data-toggle="collapse" aria-expanded="false" aria-controls="collapse-1" href="#collapse-1" role="button" style="width: 98%;text-align: left;background: rgba(255,255,255,0);font-size: 20px;border-style: none;box-shadow: none;background: transparent;;padding-left: 12px;margin-top: 10px;margin-bottom: 10px;">API Docs <svg xmlns="http://www.w3.org/2000/svg" id="collapse-1icond" class="icond" width="1em" height="1em" viewBox="0 0 24 24" fill="none" style="font-size: 26px;position: absolute;right: 30px;transform-origin: 50% 50% rotate(90);"> <path d="M6.34317 7.75732L4.92896 9.17154L12 16.2426L19.0711 9.17157L17.6569 7.75735L12 13.4142L6.34317 7.75732Z" fill="currentColor"></path> </svg> <svg xmlns="http://www.w3.org/2000/svg" id="collapse-1iconu" class="rotateimg180 iconu" width="1em" height="1em" viewBox="0 0 24 24" fill="none" style="display:none;font-size: 26px;position: absolute;right: 30px;transform-origin: 50% 50% rotate(90);"> <path d="M6.34317 7.75732L4.92896 9.17154L12 16.2426L19.0711 9.17157L17.6569 7.75735L12 13.4142L6.34317 7.75732Z" fill="currentColor"></path> </svg> </a> </div> <div class="collapse coll-in" id="collapse-1"> <div class="container" style="padding-right: 0px;padding-left: 0px;"> <div> <div class="col-md-12" style="display: flex;flex-direction: column;flex-wrap: wrap;height: 308.156px;background: rgba(0,152,255,0.19);border-radius: 18px;border: 1px solid rgba(51,51,51,0.15);margin-right:10px;"> <h1 onclick="locachange('https://developer.exotel.com/api/make-a-call-api')" href="https://developer.exotel.com/api/make-a-call-api" style="width: 80px;font-size: 20px;text-align: left;">Voice</h1> <h1 onclick="locachange('https://developer.exotel.com/api/sms')" href="https://developer.exotel.com/api/sms" style="width: 80px;font-size: 20px;text-align: left;">SMS</h1> <h1 onclick="locachange('https://developer.exotel.com/api/exophones')" href="https://developer.exotel.com/api/exophones" style="width: 80px;font-size: 20px;text-align: left;">Exophones</h1> <h1 onclick="locachange('https://developer.exotel.com/api/heart-beat')" href="https://developer.exotel.com/api/heart-beat" style="width: 80px;font-size: 20px;text-align: left;">Heartbeat</h1> <h1 onclick="locachange('https://developer.exotel.com/api/campaigns')" href="https://developer.exotel.com/api/campaigns" style="width: 80px;font-size: 20px;text-align: left;">Call Campaigns</h1> <h1 onclick="locachange('https://developer.exotel.com/api/sms-campaigns')" href="https://developer.exotel.com/api/sms-campaigns" style="width: 80px;font-size: 20px;text-align: left;">SMS Campaigns</h1> <h1 onclick="locachange('https://developer.exotel.com/api/leadassist-greenvn')" href="https://developer.exotel.com/api/leadassist-greenvn" style="width: 80px;font-size: 20px;text-align: left;">Lead Assist</h1> <h1 onclick="locachange('https://developer.exotel.com/api/users')" href="https://developer.exotel.com/api/users" style="width: 80px;font-size: 20px;text-align: left;">Users</h1> <h1 onclick="locachange('https://developer.exotel.com/api/product-exoverify-apis')" href="https://developer.exotel.com/api/product-exoverify-apis" style="width: 80px;font-size: 20px;text-align: left;">ExoVerify</h1> <h1 onclick="locachange('https://developer.exotel.com/api/whatsapp')" href="https://developer.exotel.com/api/whatsapp" style="width: 80px;font-size: 20px;text-align: left;">Whatsapp </h1> <h1 onclick="locachange('https://developer.exotel.com/api/url-shortening')" href="https://developer.exotel.com/api/url-shortening" style="width: 80px;font-size: 20px;text-align: left;">URL shortening</h1> <h1 onclick="locachange('https://developer.exotel.com/api')" href="https://developer.exotel.com/api" style="width: 80px;font-size: 20px;text-align: left;">More...</h1> </div> </div> </div> </div> </div> <div > <div onclick="funcollapse('collapse-2')"> <a class="btn btn-default coll" data-toggle="collapse" aria-expanded="false" aria-controls="collapse-2" href="#collapse-2" role="button" style="width: 98%;text-align: left;background: rgba(255,255,255,0);font-size: 20px;border-style: none;box-shadow: none;background: transparent;;padding-left: 12px;margin-top: 10px;margin-bottom: 10px;">API Console <svg xmlns="http://www.w3.org/2000/svg" id="collapse-2icond" class="icond" width="1em" height="1em" viewBox="0 0 24 24" fill="none" style="font-size: 26px;position: absolute;right: 30px;transform-origin: 50% 50% rotate(90);"> <path d="M6.34317 7.75732L4.92896 9.17154L12 16.2426L19.0711 9.17157L17.6569 7.75735L12 13.4142L6.34317 7.75732Z" fill="currentColor"></path> </svg> <svg xmlns="http://www.w3.org/2000/svg" id="collapse-2iconu" class="rotateimg180 iconu" width="1em" height="1em" viewBox="0 0 24 24" fill="none" style="display:none;font-size: 26px;position: absolute;right: 30px;transform-origin: 50% 50% rotate(90);"> <path d="M6.34317 7.75732L4.92896 9.17154L12 16.2426L19.0711 9.17157L17.6569 7.75735L12 13.4142L6.34317 7.75732Z" fill="currentColor"></path> </svg> </a> </div> <div class="collapse coll-in" id="collapse-2"> <div class="container" style="padding-right: 0px;padding-left: 0px;"> <div> <div class="col-md-12" style="display: flex;flex-direction: column;flex-wrap: wrap;height: 308.156px;background: rgba(0,152,255,0.19);border-radius: 18px;border: 1px solid rgba(51,51,51,0.15);margin-right:10px;"> <h1 onclick="locachange('https://developer.exotel.com/api-console/make-a-call-api')" href="https://developer.exotel.com/api-console/make-a-call-api" style="width: 80px;font-size: 20px;text-align: left;">Voice</h1> <h1 onclick="locachange('https://developer.exotel.com/api-console/product-sms')" href="https://developer.exotel.com/api-console/product-sms" style="width: 80px;font-size: 20px;text-align: left;">SMS</h1> <h1 onclick="locachange('https://developer.exotel.com/api-console/exophone')" href="https://developer.exotel.com/api-console/exophone" style="width: 80px;font-size: 20px;text-align: left;">Exophones</h1> <h1 onclick="locachange('https://developer.exotel.com/api-console/heart-beat')" href="https://developer.exotel.com/api-console/heart-beat" style="width: 80px;font-size: 20px;text-align: left;">Heartbeat</h1> <h1 onclick="locachange('https://developer.exotel.com/api-console/campaigns')" href="https://developer.exotel.com/api-console/campaigns" style="width: 80px;font-size: 20px;text-align: left;">Call Campaigns</h1> <h1 onclick="locachange('https://developer.exotel.com/api-console/sms-campaigns')" href="https://developer.exotel.com/api-console/sms-campaigns" style="width: 80px;font-size: 20px;text-align: left;">SMS Campaigns</h1> <h1 onclick="locachange('https://developer.exotel.com/api-console/lead-assist-greenvn')" href="https://developer.exotel.com/api-console/lead-assist-greenvn" style="width: 80px;font-size: 20px;text-align: left;">LeadAssist</h1> <h1 onclick="locachange('https://developer.exotel.com/api-console')" href="https://developer.exotel.com/api-console" style="width: 80px;font-size: 20px;text-align: left;">More...</h1> </div> </div> </div> </div> </div> <div > <div onclick="funcollapse('collapse-3')"> <a class="btn btn-default coll" data-toggle="collapse" aria-expanded="false" aria-controls="collapse-3" href="#collapse-3" role="button" style="width: 98%;text-align: left;background: rgba(255,255,255,0);font-size: 20px;border-style: none;box-shadow: none;background: transparent;;padding-left: 12px;margin-top: 10px;margin-bottom: 10px;">Applets Docs <svg xmlns="http://www.w3.org/2000/svg" id="collapse-3icond" class="icond" width="1em" height="1em" viewBox="0 0 24 24" fill="none" style="font-size: 26px;position: absolute;right: 30px;transform-origin: 50% 50% rotate(90);"> <path d="M6.34317 7.75732L4.92896 9.17154L12 16.2426L19.0711 9.17157L17.6569 7.75735L12 13.4142L6.34317 7.75732Z" fill="currentColor"></path> </svg> <svg xmlns="http://www.w3.org/2000/svg" id="collapse-3iconu" class="rotateimg180 iconu" width="1em" height="1em" viewBox="0 0 24 24" fill="none" style="display:none;font-size: 26px;position: absolute;right: 30px;transform-origin: 50% 50% rotate(90);"> <path d="M6.34317 7.75732L4.92896 9.17154L12 16.2426L19.0711 9.17157L17.6569 7.75735L12 13.4142L6.34317 7.75732Z" fill="currentColor"></path> </svg> </a> </div> <div class="collapse coll-in" id="collapse-3"> <div class="container" style="padding-right: 0px;padding-left: 0px;"> <div> <div class="col-md-12" style="display: flex;flex-direction: column;flex-wrap: wrap;height: 308.156px;background: rgba(0,152,255,0.19);border-radius: 18px;border: 1px solid rgba(51,51,51,0.15);margin-right:10px;"> <h1 onclick="locachange('https://developer.exotel.com/applet#greeting')" href="https://developer.exotel.com/applet#greeting" style="width: 80px;font-size: 20px;text-align: left;">Greeting</h1> <h1 onclick="locachange('https://developer.exotel.com/applet#connect')" href="https://developer.exotel.com/applet#connect" style="width: 80px;font-size: 20px;text-align: left;">Connect</h1> <h1 onclick="locachange('https://developer.exotel.com/applet#passthru')" href="https://developer.exotel.com/applet#passthru" style="width: 80px;font-size: 20px;text-align: left;">Passthru</h1> <h1 onclick="locachange('hhttps://developer.exotel.com/applet#transfer')" href="hhttps://developer.exotel.com/applet#transfer" style="width: 80px;font-size: 20px;text-align: left;">Transfer</h1> <h1 onclick="locachange('https://developer.exotel.com/applet#sms')" href="https://developer.exotel.com/applet#sms" style="width: 80px;font-size: 20px;text-align: left;">SMS</h1> <h1 onclick="locachange('https://developer.exotel.com/applet#email')" href="https://developer.exotel.com/applet#email" style="width: 80px;font-size: 20px;text-align: left;">Email</h1> <h1 onclick="locachange('https://developer.exotel.com/applet')" href="https://developer.exotel.com/applet" style="width: 80px;font-size: 20px;text-align: left;">More</h1> </div> </div> </div> </div> </div> <div onclick="locachange('https://developer.exotel.com/usecases'); "> <a class="btn btn-default" role="button" style="width: 98%;text-align: left;background: rgba(255,255,255,0);font-size: 20px;border-style: none;box-shadow: none;background: transparent;padding-left: 12px;margin-top: 10px;margin-bottom: 10px;"> <span>Use Cases</span> </a> </div> <div onclick="locachange('https://developer.exotel.com/faqs'); "> <a class="btn btn-default" role="button" style="width: 98%;text-align: left;background: rgba(255,255,255,0);font-size: 20px;border-style: none;box-shadow: none;background: transparent;padding-left: 12px;margin-top: 10px;margin-bottom: 10px;"> <span>FAQs</span> </a> </div> </div> </div> </div> </div> <div class="row btp" style="text-align: center;position: fixed; bottom: 10px;width: 100%;"> <div class="col-md-3 col-xs-3 col-sm-3"> <a class="btn btn-default" role="button" target="_blank" href="https://my.exotel.com/auth/register" style="width: 200px;height: 56px;border-radius: 10px;font-size: 14px;padding: 17px 22px;padding-left: 32px;padding-right: 32px;color:rgb(255,255,255);background:#0098FF;"> Create Account</a> </div> </div> </div> </div> </div> <!-- Start: over Nav --> <!-- Start: Navigation --> <nav class="navbar navbar-default navigation-clean-button npanel" style="background: rgb(0,152,255);position:fixed;z-index:102;width:100%; border:none;padding-top: 3px;"> <div class="nav-container container"> <div class="navbar-header navicon"> <a class="navbar-brand ico" href="/" style="padding: 15px;margin-bottom: 0px;position:absolute;left:70px;top:4px"><img src="https://developer.exotel.com/wp-content/uploads/2023/04/exotel-developers-01-1.png" alt="" height="36" /></a> <button class="navbar-toggle visible-md visible-sm visible-xs collapsed text-right" onclick="openNav()" data-target="#navcol-5" style="border-style: none;text-align: right;position:absolute;right:0px;top: 2px;"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar" style="height:4px;width: 24px;background-color: #FFF;"></span> <span class="icon-bar" style="height:4px;width: 16px;background-color: #FFF;margin-left:8px;"></span> <span class="text-right icon-bar" style="height:4px;width: 10px;background-color: #FFF;margin-left:14px;"></span> </button> <button id="search_icon" onclick="openGlobalNav()" class="navbar-toggle visible-md visible-sm visible-xs collapsed text-right " data-target="#navcol-5" style="border-style: none;text-align: right; position:absolute;right:40px;top:-0px;background: transparent;"> <svg xmlns="http://www.w3.org/2000/svg" width="32.243" height="25" viewBox="0 0 32.243 32.243"> <path id="Icon_material-search" data-name="Icon material-search" d="M27.544,24.779H26.088l-.516-.5a12,12,0,1,0-1.29,1.29l.5.516v1.456L34,36.743,36.743,34Zm-11.061,0a8.3,8.3,0,1,1,8.3-8.3A8.285,8.285,0,0,1,16.483,24.779Z" transform="translate(-4.5 -4.5)" fill="#fff"/> </svg> </button> </div> <div class="collapse navbar-collapse" id="navcol-5" style="background:#0098ff;" > <ul class="nav navbar-nav hidden-md hidden-sm " style="background:#0098ff;position:relative;margin-right: 20%;margin-left:20%;padding-top:0px;margin-bottom:0px"> <!-- <li id="home" class="active" onclick="locachange('/');" style="background:#0098ff;" ><a style="background:rgb(255, 255, 255,0);"><span style="color: rgb(255, 255, 255);padding-bottom:8px">Home</span></a></li> --> <li class="dropdown navl" style="background:#0098ff;" onclick="locachange('https://developer.exotel.com/api'); "><a class="dropdown-toggle" aria-expanded="false" data-toggle="dropdown" href="https://developer.exotel.com/api" ><span style="color: rgb(255, 255, 255);;font-size: 16px;">API Docs</span></a> <ul class="dropdown-menu"> <li onclick="locachange('https://developer.exotel.com/api/make-a-call-api')"><a href="https://developer.exotel.com/api/make-a-call-api">Voice</a></li> <li onclick="locachange('https://developer.exotel.com/api/sms')"><a href="https://developer.exotel.com/api/sms">SMS</a></li> <li onclick="locachange('https://developer.exotel.com/api/exophones')"><a href="https://developer.exotel.com/api/exophones">Exophones</a></li> <li onclick="locachange('https://developer.exotel.com/api/heart-beat')"><a href="https://developer.exotel.com/api/heart-beat">Heartbeat</a></li> <li onclick="locachange('https://developer.exotel.com/api/campaigns')"><a href="https://developer.exotel.com/api/campaigns">Call Campaigns</a></li> <li onclick="locachange('https://developer.exotel.com/api/sms-campaigns')"><a href="https://developer.exotel.com/api/sms-campaigns">SMS Campaigns</a></li> <li onclick="locachange('https://developer.exotel.com/api/leadassist-greenvn')"><a href="https://developer.exotel.com/api/leadassist-greenvn">Lead Assist</a></li> <li onclick="locachange('https://developer.exotel.com/api/users')"><a href="https://developer.exotel.com/api/users">Users</a></li> <li onclick="locachange('https://developer.exotel.com/api/product-exoverify-apis')"><a href="https://developer.exotel.com/api/product-exoverify-apis">ExoVerify</a></li> <li onclick="locachange('https://developer.exotel.com/api/whatsapp')"><a href="https://developer.exotel.com/api/whatsapp">Whatsapp </a></li> <li onclick="locachange('https://developer.exotel.com/api/url-shortening')"><a href="https://developer.exotel.com/api/url-shortening">URL shortening</a></li> <li onclick="locachange('https://developer.exotel.com/api')"><a href="https://developer.exotel.com/api">More...</a></li> </ul> </li> <li class="dropdown navl" style="background:#0098ff;" onclick="locachange('https://developer.exotel.com/api-console'); "><a class="dropdown-toggle" aria-expanded="false" data-toggle="dropdown" href="https://developer.exotel.com/api-console" ><span style="color: rgb(255, 255, 255);;font-size: 16px;">API Console</span></a> <ul class="dropdown-menu"> <li onclick="locachange('https://developer.exotel.com/api-console/make-a-call-api')"><a href="https://developer.exotel.com/api-console/make-a-call-api">Voice</a></li> <li onclick="locachange('https://developer.exotel.com/api-console/product-sms')"><a href="https://developer.exotel.com/api-console/product-sms">SMS</a></li> <li onclick="locachange('https://developer.exotel.com/api-console/exophone')"><a href="https://developer.exotel.com/api-console/exophone">Exophones</a></li> <li onclick="locachange('https://developer.exotel.com/api-console/heart-beat')"><a href="https://developer.exotel.com/api-console/heart-beat">Heartbeat</a></li> <li onclick="locachange('https://developer.exotel.com/api-console/campaigns')"><a href="https://developer.exotel.com/api-console/campaigns">Call Campaigns</a></li> <li onclick="locachange('https://developer.exotel.com/api-console/sms-campaigns')"><a href="https://developer.exotel.com/api-console/sms-campaigns">SMS Campaigns</a></li> <li onclick="locachange('https://developer.exotel.com/api-console/lead-assist-greenvn')"><a href="https://developer.exotel.com/api-console/lead-assist-greenvn">LeadAssist</a></li> <li onclick="locachange('https://developer.exotel.com/api-console')"><a href="https://developer.exotel.com/api-console">More...</a></li> </ul> </li> <li class="dropdown navl" style="background:#0098ff;" onclick="locachange('https://developer.exotel.com/applet'); "><a class="dropdown-toggle" aria-expanded="false" data-toggle="dropdown" href="https://developer.exotel.com/applet" ><span style="color: rgb(255, 255, 255);;font-size: 16px;">Applets Docs</span></a> <ul class="dropdown-menu"> <li onclick="locachange('https://developer.exotel.com/applet#greeting')"><a href="https://developer.exotel.com/applet#greeting">Greeting</a></li> <li onclick="locachange('https://developer.exotel.com/applet#connect')"><a href="https://developer.exotel.com/applet#connect">Connect</a></li> <li onclick="locachange('https://developer.exotel.com/applet#passthru')"><a href="https://developer.exotel.com/applet#passthru">Passthru</a></li> <li onclick="locachange('hhttps://developer.exotel.com/applet#transfer')"><a href="hhttps://developer.exotel.com/applet#transfer">Transfer</a></li> <li onclick="locachange('https://developer.exotel.com/applet#sms')"><a href="https://developer.exotel.com/applet#sms">SMS</a></li> <li onclick="locachange('https://developer.exotel.com/applet#email')"><a href="https://developer.exotel.com/applet#email">Email</a></li> <li onclick="locachange('https://developer.exotel.com/applet')"><a href="https://developer.exotel.com/applet">More</a></li> </ul> </li> <li class="dropdown navl" style="background:#0098ff;" onclick="locachange('https://developer.exotel.com/usecases'); "><a class="dropdown-toggle" aria-expanded="false" data-toggle="dropdown" href="https://developer.exotel.com/usecases" ><span style="color: rgb(255, 255, 255);;font-size: 16px;">Use Cases</span></a> </li> <li class="dropdown navl" style="background:#0098ff;" onclick="locachange('https://developer.exotel.com/faqs'); "><a class="dropdown-toggle" aria-expanded="false" data-toggle="dropdown" href="https://developer.exotel.com/faqs" ><span style="color: rgb(255, 255, 255);;font-size: 16px;">FAQs</span></a> </li> </ul><!-- Start: Actions --> <button id="search_icon2" onclick="openGlobalNav()" class="visible-lg collapsed text-right " data-target="#navcol-5" style="border-style: none;text-align: right; position:absolute;right: 310px;top: 25px; background-color: transparent !important;opacity:1; "> <svg xmlns="http://www.w3.org/2000/svg" width="32.243" height="25" viewBox="0 0 32.243 32.243"> <path id="Icon_material-search" data-name="Icon material-search" d="M27.544,24.779H26.088l-.516-.5a12,12,0,1,0-1.29,1.29l.5.516v1.456L34,36.743,36.743,34Zm-11.061,0a8.3,8.3,0,1,1,8.3-8.3A8.285,8.285,0,0,1,16.483,24.779Z" transform="translate(-4.5 -4.5)" fill="#fff"/> </svg> </button> <p class="navbar-text navbar-right hidden-md hidden-sm actions" style="position: absolute;right: 100px;top:10px;"> <a class="btn btn-default action-button" target="_blank" role="button" href="https://my.exotel.com/auth/register" style="width: 200px;border-radius: 8px;font-size: 16px;padding: 10px 22px;color: #0098FF;background: rgb(255,255,255);font-weight:600;">Create Account</a> </p> <!-- End: Actions --> </div> </div> </nav><!-- End: Navigation --> <div id="myGlobalSearchNav" class="searchoverlay"> <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a> <div class="searchoverlay-content"> <form data-sf-form-id='6277' data-is-rtl='0' data-maintain-state='' data-ajax-url='https://developer.exotel.com/?sfid=6277&amp;sf_action=get_data&amp;sf_data=all' data-ajax-form-url='https://developer.exotel.com/?sfid=6277&amp;sf_action=get_data&amp;sf_data=form' data-display-result-method='shortcode' data-use-history-api='1' data-template-loaded='0' data-lang-code='en' data-ajax='1' data-ajax-data-type='json' data-ajax-links-selector='.pagination a' data-ajax-target='#search-filter-results-6277' data-ajax-pagination-type='normal' data-scroll-to-pos='0' data-init-paged='1' data-auto-update='1' data-auto-count='1' data-auto-count-refresh-mode='1' action='' method='post' class='searchandfilter' id='search-filter-form-6277' autocomplete='off' data-instance-count='1'><ul><li class="sf-field-search" data-sf-field-name="search" data-sf-field-type="search" data-sf-field-input-type=""> <label><span class="screen-reader-text">global-search</span><input placeholder="Seach Exotel documentation... try &quot;Send SMS&quot;" name="_sf_search[]" class="sf-input-text" type="text" value="" title="global-search"></label> </li></ul></form> <div id="search-result-global"> <div id="search-recent-global" class="search-container container dropdown-s gbl-spc" style="border-top: 2px solid #d3d3d382;display:none;padding-bottom:18px;padding: 0rem 1rem 0rem 1rem; border-color:1px solid #C1CDDC; border-top: none;box-shadow: 0px 3px 16px #0098FF29;"> <div style="background-color:#fff;margin-top:10px;text-align: left;padding: 0rem 1rem 0rem 1rem;"> <p>Recent search</p> </div> <div class="search-selection" style="background-color:#fff;text-align: left;width:100%;margin-bottom: 12px;padding: 1rem;" onclick="memo('6938','https://developer.exotel.com/api/url-shortening')"> <div style="display: flex;justify-content: space-between;"> <p class="shr-title">URL Shortening</p> </div> <p class="shr-descr" style="height:15px;"> </p> </div> <div style="background-color:#fff;display: flex;justify-content: center;"> <p> <a id="viewMore" style="text-align:center;font-size:18px; color: #0098FF; font-weight: bold;margin-bottom:5px;">Advanced Search</a> </p> </div> </div> <div id="search-found-result" style="display:none;"> <div class="search-filter-results" id="search-filter-results-6277"><style> .box-result { background: #D6E4F078; width: 100%; margin: auto; padding: 2rem; } .sf-field-search label input { display: block; max-width: 640px !important; margin: auto; height: 4rem; border-radius: 2px 2px 0px 0px !important; text-align:left !important; padding-left: 2rem; border-bottom: none; } .dropdown-s{ background-color:#fff; display:block; z-index:100; overflow-y: scroll; max-height: 42rem; margin-top: -14px; margin-left: 15px; width: 640px; position: absolute; left: 0; right: 0; margin: 0 auto; } .src-spc{ margin-top: -24px !important; } .search-selection:hover{ background-color: #b9d5ff29 !important; } @media (max-width:769px) { .dropdown-s{ width: 100%; margin: auto; position: relative; } } @media only screen and (max-width: 600px) { .src-spc{ margin-top: -24px !important; } } input[type=text]:focus { outline: 1px solid #0098FF !important; border: 1px solid #0098FF; border-top: none; border-bottom: none; box-shadow: 0px 3px 16px #0098FF29; } input[type=text]{ box-shadow: 0px 3px 16px #0098FF29; border: 1px solid #0098FF; } </style> <div> <div id="dy_search" class="search-container container dropdown-s src-spc" style="border-top: 2px solid #d3d3d382;padding-bottom:18px;border-top:none;border: 1px solid #0098FF !important; box-shadow: 0px 3px 16px #0098FF29;"> <div style="background-color:#fff;margin-top:10px;padding: 0rem 0.5rem;text-align: left;"> <p> 233 results found</p> </div> <div class="context firstFAQ search-selection" onclick="memo('7949','https://developer.exotel.com/api/rcs-send-rcs-template-message');" style="background-color:#fff;text-align: left;cursor:pointer;padding: 5px;"> <div style="display: flex;justify-content: space-between;margin:0px; "> <p class="shr-title"> Send RCS Template Message </p> <p style="background:#96A5B8;color:#FFFFFF;padding: 2px 4px;border-radius:5px;margin-right: 10px;height: 2.6rem;"> API </p> </div> <p class="shr-descr" style="height:15px;"> </p> </div> <div class="context firstFAQ search-selection" onclick="memo('7900','https://developer.exotel.com/api/receive-outbound-call-notifications');" style="background-color:#fff;text-align: left;cursor:pointer;padding: 5px;"> <div style="display: flex;justify-content: space-between;margin:0px; "> <p class="shr-title"> Receive Outbound Call Notifications </p> <p style="background:#96A5B8;color:#FFFFFF;padding: 2px 4px;border-radius:5px;margin-right: 10px;height: 2.6rem;"> API </p> </div> <p class="shr-descr" style="height:15px;"> </p> </div> <div class="context firstFAQ search-selection" onclick="memo('7871','https://developer.exotel.com/api/error-code');" style="background-color:#fff;text-align: left;cursor:pointer;padding: 5px;"> <div style="display: flex;justify-content: space-between;margin:0px; "> <p class="shr-title"> WhatsApp Error Code </p> <p style="background:#96A5B8;color:#FFFFFF;padding: 2px 4px;border-radius:5px;margin-right: 10px;height: 2.6rem;"> API </p> </div> <p class="shr-descr" style="height:15px;"> </p> </div> <div class="context firstFAQ search-selection" onclick="memo('6935','https://developer.exotel.com/api/send-sms-2');" style="background-color:#fff;text-align: left;cursor:pointer;padding: 5px;"> <div style="display: flex;justify-content: space-between;margin:0px; "> <p class="shr-title"> Send SMS </p> <p style="background:#96A5B8;color:#FFFFFF;padding: 2px 4px;border-radius:5px;margin-right: 10px;height: 2.6rem;"> API </p> </div> <p class="shr-descr" style="height:15px;"> </p> </div> <div class="context firstFAQ search-selection" onclick="memo('7735','https://developer.exotel.com/api/exomind-tasker-api');" style="background-color:#fff;text-align: left;cursor:pointer;padding: 5px;"> <div style="display: flex;justify-content: space-between;margin:0px; "> <p class="shr-title"> ExoMind Tasker API </p> <p style="background:#96A5B8;color:#FFFFFF;padding: 2px 4px;border-radius:5px;margin-right: 10px;height: 2.6rem;"> API </p> </div> <p class="shr-descr" style="height:15px;"> </p> </div> <div class="context firstFAQ" onclick="" style="background-color:#fff;display: flex;justify-content: center;"> <p> <a id="viewMore1" style="text-align:center;font-size:16px;color: #0098FF;font-weight: bold;margin-bottom:5px;">Advanced Search</a> </p> </div> </div> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> <script> var markInstance = new Mark(document.querySelector(".search-filter-results")); // Cache DOM elements var data=[]; var keywordInput = document.querySelector("input[name='_sf_search[]']"); if(window.localStorage.getItem("hist")!==null){ data=JSON.parse(window.localStorage.getItem("hist")); } function memo(a,redirectUrl){ if(data.includes(a)){ let x=data.indexOf(a); data.splice(x, 1); } data=[a,...data] console.log(data); if(data.length>5){data.pop()} window.localStorage.setItem("hist",JSON.stringify(data)); data=JSON.parse(JSON.stringify(data)); console.log(data); var d = new Date(); d.setTime(d.getTime() + (1*24*60*60*1000)); var expires = "expires="+ d.toUTCString(); document.cookie = 'cook' + "=" + cook+ ";" + expires + ";path=/"; console.log('exop' + redirectUrl); window.location=redirectUrl; } var cook = localStorage.getItem("hist"); console.log(cook); var d = new Date(); d.setTime(d.getTime() + (1*24*60*60*1000)); var expires = "expires="+ d.toUTCString(); document.cookie = 'cook' + "=" + cook+ ";" + expires + ";path=/"; function performMark() { // Read the keyword var keyword = keywordInput.value; // Remove previous marked elements and mark // the new keyword inside the context if(keyword.length>1) { markInstance.unmark({ done: function() { markInstance.mark(keyword); } }); } }; (function ( $ ) { "use strict"; $(document).on("sf:ajaxstart", ".searchandfilter", function(){ console.log("ajax start"); $("#search-recent-global").css("display", "none"); }); $(document).on("sf:ajaxfinish", ".searchandfilter", function(){ console.log("ajax complete"); var keyword = keywordInput.value; if(keyword.length>0) { $("#search-found-result").css("display", ""); } else{ $("#search-recent-global").css("display", ""); $("#search-found-result").css("display", "none"); } //so load your lightbox or JS scripts here again }); }(jQuery)); function ser_recent(){ var keyword = keywordInput.value; if(keyword.length===0) { $('#search-recent-global').fadeIn("slow"); $("#search-recent-global").css("display", "block"); } if(keyword.length>=1) { $('#search-found-result').fadeIn("slow"); $("#search-found-result").css("display", "block"); } } // document.querySelector('#search-filter-form-6277').addEventListener("focusin", // function(){ // console.log('sdsd'); // ser_recent() // } // ); // document.querySelector('#search-filter-form-6277').addEventListener('focusout', function(event) { // console.log(event) // // $("#search-found-result").css("display", "none"); // // // console.log('sdsd') // // if(event.relatedTarget==null){ // // $("#search-recent-global").css("display", "none"); // // } // }); window.addEventListener('click', function(e){ if (document.getElementById('search-filter-form-6277').contains(e.target)){ ser_recent(); } }); keywordInput.addEventListener("input", performMark); a = document.getElementById('viewMore'); a.setAttribute("href", "https://developer.exotel.com/advance-search?_sf_s="+keywordInput.value); a = document.getElementById('viewMore1'); a.setAttribute("href", "https://developer.exotel.com/advance-search?_sf_s="+keywordInput.value); setTimeout(function() { performMark(); }, 1000); </script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script> </div> </div> </div> </div> </div> </div> <script> function locachange(a){ window.location.href=a; } let pageurl= window.location.href; if(document.querySelectorAll([".navbar-nav a[href='" + pageurl + "'"])[0]){ document.querySelectorAll([".navbar-nav a[href='" + pageurl + "'"])[0].classList.add('currentMenu') } function openNavser() { //document.getElementById("myNavSer").style.display = "block"; let pageurl= window.location.href; window.location.href=pageurl+'advance-search'; } function closeNavser() { document.getElementById("myNavSer").style.display = "none"; } function openNav() { document.getElementById("myNav").style.display = "block"; } function openGlobalNav() { document.getElementById("myGlobalSearchNav").style.height = "75%"; document.getElementById("search_icon2").style.display = "none"; $('#search_icon2').css("opacity","0"); setTimeout(function() { $('#search-recent-global').fadeIn("slow"); $("#search-recent-global").css("display", ""); $("input[name='_sf_search[]']").focus() }, 500); } function closeNav() { document.getElementById("myGlobalSearchNav").style.height = "0%"; document.getElementById("myNav").style.display = "none"; $("#search-recent-global").css("display", "none"); $('#search_icon2').css("opacity","1"); } </script> <meta name='robots' content='max-image-preview:large' /> <link rel='dns-prefetch' href='//fonts.googleapis.com' /> <link rel='dns-prefetch' href='//s.w.org' /> <link rel='dns-prefetch' href='//www.googletagmanager.com' /> <script type='text/javascript' src='https://developer.exotel.com/wp-includes/js/wp-embed.min.js?ver=5.8.10' id='wp-embed-js'></script> <link rel="https://api.w.org/" href="https://developer.exotel.com/wp-json/" /><link rel="alternate" type="application/json" href="https://developer.exotel.com/wp-json/wp/v2/pages/6938" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://developer.exotel.com/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://developer.exotel.com/wp-includes/wlwmanifest.xml" /> <meta name="generator" content="WordPress 5.8.10" /> <link rel="canonical" href="https://developer.exotel.com/api/url-shortening" /> <link rel='shortlink' href='https://developer.exotel.com/?p=6938' /> <link rel="alternate" type="application/json+oembed" href="https://developer.exotel.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fdeveloper.exotel.com%2Fapi%2Furl-shortening" /> <link rel="alternate" type="text/xml+oembed" href="https://developer.exotel.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fdeveloper.exotel.com%2Fapi%2Furl-shortening&#038;format=xml" /> <meta name="generator" content="Site Kit by Google 1.68.0" /><style></style> <!-- Google Tag Manager snippet added by Site Kit --> <script type="text/javascript"> ( function( w, d, s, l, i ) { w[l] = w[l] || []; w[l].push( {'gtm.start': new Date().getTime(), event: 'gtm.js'} ); var f = d.getElementsByTagName( s )[0], j = d.createElement( s ), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore( j, f ); } )( window, document, 'script', 'dataLayer', 'GTM-TSLF3FD' ); </script> <!-- End Google Tag Manager snippet added by Site Kit --> <link rel="icon" href="https://developer.exotel.com/wp-content/uploads/2023/04/cropped-white-bg-X-01-1-32x32.png" sizes="32x32" /> <link rel="icon" href="https://developer.exotel.com/wp-content/uploads/2023/04/cropped-white-bg-X-01-1-192x192.png" sizes="192x192" /> <link rel="apple-touch-icon" href="https://developer.exotel.com/wp-content/uploads/2023/04/cropped-white-bg-X-01-1-180x180.png" /> <meta name="msapplication-TileImage" content="https://developer.exotel.com/wp-content/uploads/2023/04/cropped-white-bg-X-01-1-270x270.png" /> <div class="container row"> <div class="col-md-4 col-sm-3 sidebar add-ps-scrollbar"> <div class="search product-search"> <div class="col-lg-12"> <label>Please choose your relevant Products </label> <select id="docSelect" class="form-control product-select" name="item"> <option class="doc-list-heading noSelect" data-url="/api" value="/api"> Overview </option> <option class="doc-list-heading noSelect" data-url="/api/product-voice-version-3" value="/api/product-voice-version-3"> Voice v3 </option> <option class="doc-list-heading noSelect" data-url="/api/ccm-calls" value="/api/ccm-calls"> Voice v2 </option> <option class="doc-list-heading noSelect" data-url="/api/make-a-call-api" value="/api/make-a-call-api"> Voice v1 </option> <option class="doc-list-heading noSelect" data-url="/api/gen-ai" value="/api/gen-ai"> Gen AI </option> <option class="doc-list-heading noSelect" data-url="/api/sms" value="/api/sms"> SMS </option> <option class="doc-list-heading noSelect" data-url="/api/exophones" value="/api/exophones"> ExoPhones </option> <option class="doc-list-heading noSelect" data-url="/api/heart-beat" value="/api/heart-beat"> Heartbeat </option> <option class="doc-list-heading noSelect" data-url="/api/campaigns" value="/api/campaigns"> Campaigns </option> <option class="doc-list-heading noSelect" data-url="/api/sms-campaigns" value="/api/sms-campaigns"> SMS Campaigns </option> <option class="doc-list-heading noSelect" data-url="/api/campaigns-contacts" value="/api/campaigns-contacts"> Campaigns Contacts </option> <option class="doc-list-heading noSelect" data-url="/api/campaigns-lists" value="/api/campaigns-lists"> Campaigns - Lists </option> <option class="doc-list-heading noSelect" data-url="/api/leadassist-greenvn" value="/api/leadassist-greenvn"> ExoBridge (Lead Assist) - GreenVN </option> <option class="doc-list-heading noSelect" data-url="/api/leadassist-greenpin" value="/api/leadassist-greenpin"> ExoBridge (Lead Assist) - GreenPin </option> <option class="doc-list-heading noSelect" data-url="/api/lead-assist-settings" value="/api/lead-assist-settings"> ExoBridge (Lead Assist) - Settings </option> <option class="doc-list-heading noSelect" data-url="/api/users" value="/api/users"> Users </option> <option class="doc-list-heading noSelect" data-url="/api/product-exoverify-apis" value="/api/product-exoverify-apis"> ExoVerify </option> <option class="doc-list-heading noSelect" data-url="/api/url-shortening" value="/api/url-shortening"> URL Shortening </option> <option class="doc-list-heading noSelect" data-url="/api/whatsapp " value="/api/whatsapp "> WhatsApp- Messaging API </option> <option class="doc-list-heading noSelect" data-url="/api/whatsapp-template-management-apis" value="/api/whatsapp-template-management-apis"> WhatsApp - Template Management APIs </option> <option class="doc-list-heading noSelect" data-url="/api/ip-pstn-intermix-webrtc-sdk-integration" value="/api/ip-pstn-intermix-webrtc-sdk-integration"> IP-PSTN intermix: WebRTC SDK integration </option> <option class="doc-list-heading noSelect" data-url="/api/whatsapp-onboarding-apis" value="/api/whatsapp-onboarding-apis"> WhatsApp - Onboarding APIs </option> </select> </div> <div class="collpase in"> <div class="sidemenu"> <li id="item1"> <div class="collpase in list-heading"> <ul class="list-item"> <li class="noSelect" id="menu-options"> <a href="#shorten-a-long-URL" class="applet-sidebar-menu-section" > Shorten A Long URL </a> <sup class="beta-sup">New</sup> </li> </ul> </div> </li> <li id="item2"> <div class="collpase in list-heading"> <ul class="list-item"> <li class="noSelect" id="menu-options"> <a href="#shortened-URL-details" class="applet-sidebar-menu-section" > Short URL details </a> <sup class="beta-sup">New</sup> </li> </ul> </div> </li> </div> </div> </div> </div> </div> <div class="row"> <div class="content col-md-7 col-md-offset-4 col-sm-9 col-sm-offset-3"> <section class="sectionAPIClass" id="shorten-a-long-URL"> <h1 >Shorten A Long URL <sup class="beta-tag">New</sup> </h1> <div class="wrapper-list"> <p>This API will shorten a long URL to a short URL, which can be used to track data. To shorten a long URL through our API, you will need to make a HTTP POST request to</p> </div> <div class="well api-well"> <div class="col-sm"> <span class="post">POST</span> </div> <div class="col-sm" style="margin: auto 10px;"> <p class="copy-text"> <span>https://&lt;your_api_key&gt;:&lt;your_api_token&gt;&lt;subdomain&gt;/v2/accounts/&lt;your_sid&gt;/links</span> </p> </div> <div class="col-sm"> <li> <a type="button" id="apidocTrynowbtn" onclick="openConsolePage(event,'https://developer.exotel.com/api-console/product-sms#sendsms')" href="https://developer.exotel.com/api-console/product-sms#sendsms" class="api-try btn-block hidden" >Try it</a> </li> <!-- <input class="api-try btn-block <?php// echo esc_html($tryvalue); ?>" onclick="openConsolePage(event,'<?php// echo $tryProductUrl?>')" type="button" value="Try it"> --> </div> </div> <div class="wrapper-list"> <ul> <li>Replace <code>&lt;your_api_key&gt;</code> and <code>&lt;your_api_token&gt;</code> with the API key and token created by you.</li> <li>Replace <code>&lt;your_sid&gt;</code> with your “Account sid”</li> <li>Replace <code>&lt;subdomain&gt;</code> with the region of your account <ol> <li>&lt;subdomain&gt; of Singapore cluster is @api.exotel.com</li> </ol> </li> </ul> <p><code>&lt;your_api_key&gt;</code> , <code>&lt;your_api_token&gt;</code> and <code>&lt;your_sid&gt;</code> are available in the API settings page of your <a href="https://my.exotel.com/apisettings/site#api-credentials">Exotel Dashboard</a></p> <p>You can use our <a href="https://www.postman.com/exotel-dx/workspace/exotel-apis/collection/22379282-2bdf7b05-b054-4ec7-862c-16df7e52270f?ctx=documentation">official postman collection</a> to try out the APIs.</p> <p>The following are the POST parameters:</p> <table class="table table-hover table-responsive table-bordered" class="table table-hover table-responsive table-bordered" style="width: 100%; height: 393px;"> <tbody> <tr style="height: 48px;"> <th style="width: 18.63421851851852%; height: 48px;">Parameter Name</th> <th style="width: 14.236081481481481%; height: 48px;">Mandatory/Optional</th> <th style="width: 65.9722%; height: 48px;">Value</th> </tr> <tr style="height: 55px;"> <td style="width: 18.63421851851852%; height: 55px;"><span style="font-weight: 400;">long_url</span></td> <td style="width: 14.236081481481481%; height: 55px;">Mandatory</td> <td style="width: 65.9722%; height: 55px;">The URL that you wish to shorten. Only valid URL’s will be shortened.</td> </tr> <tr id="sms-send-api-params-to" style="height: 48px;"> <td style="width: 18.63421851851852%; height: 10px;"><span style="font-weight: 400;">expire_in</span></td> <td style="width: 14.236081481481481%; height: 10px;">Optional</td> <td style="width: 65.9722%; height: 10px;"> <p><span style="font-weight: 400;">The duration(seconds) after which the short URL becomes invalid.<br /> Minimum is 60 seconds and default is 31 days. max. value is  365 days</span></p> </td> </tr> <tr style="height: 88px;"> <td style="width: 18.63421851851852%; height: 88px;"><span style="font-weight: 400;">tracking</span></td> <td style="width: 14.236081481481481%; height: 88px;">Optional</td> <td style="width: 65.9722%; height: 88px;"> <p>Whether to track the short URL click. Can be: "true" or "false". "ShortenUrl" needs to be "true" for Tracking to work.</p> </td> </tr> <tr> <td style="width: 18.6342%;"><span style="font-weight: 400;">shorten_url_header</span></td> <td style="width: 14.2361%;">Optional</td> <td style="width: 65.9722%;"> <p>Applicable only for Indian businesses</p> <p>If you are creating a shortened link from this API to send SMSes in India, enter the header that you have registered on your DLT(Distributed Ledger Technology) platform. Please ensure that it matches exactly with what you have entered in your DLT platform to avoid failure of SMSes</p> <p>If you using this feature for anything apart from SMS, please ignore this parameter</p> </td> </tr> <tr id="sms-send-api-params-body" style="height: 96px;"> <td style="width: 18.63421851851852%; height: 96px;"><span style="font-weight: 400;">callback_url</span></td> <td style="width: 14.236081481481481%; height: 96px;">Optional</td> <td style="width: 65.9722%; height: 96px;"> <p>Once someone clicks on the shortened URL,  Exotel will do a POST callback to your end point if the URL is set as a parameter in the API.  </p> <p>Below are the parameters:</p> <p>sid - The Sid (unique id) of the shortened URL  </p> <p>short_url - The complete shortened URL</p> <p>short_code - Key of the shortened URL </p> <p>long_url - Original URL which is shortened</p> <p>Tracking - Whether to track the short URLs click</p> <p>custom_field - custom field passed in API request String value</p> <p>Expires_at -  Date Time in ISO format when link will expire</p> <p>Created_time - Date Time in ISO format when URL is created</p> <p>Last_viewed -  Date Time in ISO format when link was visited last</p> <p>Total_clicks  - count of total views of short url</p> <p>Account_sid -  Exotel’s unique Account SID</p> <p>Date_created - Date Time in ISO format when link was created </p> <p>city - City where the shorten URL is clicked</p> <p>Country - Country code where shorten URL is clicked</p> <p>IP - IP address where shorten URL is clicked</p> <p>Postal_code - Postal code where shorten URL is clicked </p> <p>Region - Region where shorten URL is clicked</p> <p>Accuracy_radius - Aproximate accuracy radius where shorten URL is clicked </p> <p>OS_version - OS version of the customer who clicked the shorten URL </p> <p>OS_name - OS name of the customer who clicked the shorten URL </p> <p>Device_name - Device name of the customer who clicked the shorten URL </p> <p>Platform_type - Platform where shorten URL is clicked </p> </td> </tr> <tr id="sms-send-api-params-encoding" style="height: 24px;"> <td style="width: 18.63421851851852%; height: 24px;"><span style="font-weight: 400;">custom_field</span></td> <td style="width: 14.236081481481481%; height: 24px;">Optional</td> <td style="width: 65.9722%; height: 24px;"> <p>Set a Custom Field relevant to your use case while sending a long URL. E.g Order ID, Payment ID, Login Attempt etc. <span style="font-weight: 400;">Any content / json body upto 1024 chars</span></p> </td> </tr> <tr id="sms-send-api-params-priority" style="height: 72px;"> <td style="width: 18.63421851851852%; height: 72px;"><span style="font-weight: 400;">custom_domain</span></td> <td style="width: 14.236081481481481%; height: 72px;">Optional</td> <td style="width: 65.9722%; height: 72px;"> <p>Whether you want the short URL to start with default domain- exo.tl or you want to provide a custom domain of your own choice.</p> <p>     If custom domain is not present or empty, we will use the default domain(exo.tl)</p> <p>      If custom domain is given in the request it will be used to form the short URL<br /> <br /> Note : Clients will have to route the traffic on their custom domain to<a href="http://exo.tl/"> exo.tl</a> domain, this is a change on your domain management system</p> </td> </tr> </tbody> </table> </div> <div> <ul class="nav nav-pills" role="tablist"> <li class="request">Example Request</li> <li role="presentation" class="active"><a href="#callagent-1-4-1" aria-controls="curl" role="tab" data-toggle="tab" aria-expanded="true">cURL</a></li> <li role="presentation" class=""><a href="#callagent-1-4-2" aria-controls="curl" role="tab" data-toggle="tab" aria-expanded="true">NodeJs - Native</a></li> <li role="presentation" class=""><a href="#callagent-1-4-3" aria-controls="curl" role="tab" data-toggle="tab" aria-expanded="true">PHP - cURL</a></li> <li role="presentation" class=""><a href="#callagent-1-4-4" aria-controls="curl" role="tab" data-toggle="tab" aria-expanded="true">Python - Requests</a></li> <li role="presentation" class=""><a href="#callagent-1-4-5" aria-controls="curl" role="tab" data-toggle="tab" aria-expanded="true">Ruby - Net::HTTP</a></li> </ul> <div class="tab-content"> <div role="tabpanel" class="tab-pane copy-text active" id="callagent-1-4-1"> <pre class="prettyprint lang-bsh">curl --location --request POST 'https://&lt;your_api_key&gt;:&lt;your_api_token&gt;&lt;subdomain&gt;/v2/accounts/exotel/links' \ --header 'Content-Type: application/json' \ --data-raw '{ "links": [ { "long_url": "https://www.google.co.in/", "expire_in": 100, "tracking": true, "callback_url": "https://www.google.co.in/", } ] }' </pre> </div> <div role="tabpanel" class="tab-pane copy-text " id="callagent-1-4-2"> <pre class="prettyprint">var http = require('follow-redirects').http; var fs = require('fs'); var options = { 'method': 'POST', 'hostname': '&lt;your_api_key&gt;', 'port': &lt;your_api_token&gt;&lt;subdomain&gt;, 'path': '/v2/accounts/exotel/links', 'headers': { 'Content-Type': 'application/json' }, 'maxRedirects': 20 }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); var postData = "{\n\"links\": [\n{\n\"long_url\": \"https://www.google.co.in/\",\n\"expire_in\": 100,\n\"tracking\": true,\n\"callback_url\": \"https://www.google.co.in/\",\n\n}\n]\n}"; req.write(postData); req.end();</pre> </div> <div role="tabpanel" class="tab-pane copy-text " id="callagent-1-4-3"> <pre class="prettyprint">&lt;?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL =&gt; 'https://%3Cyour_api_key%3E:%3Cyour_api_token%3E%3Csubdomain%3E/v2/accounts/exotel/links', CURLOPT_RETURNTRANSFER =&gt; true, CURLOPT_ENCODING =&gt; '', CURLOPT_MAXREDIRS =&gt; 10, CURLOPT_TIMEOUT =&gt; 0, CURLOPT_FOLLOWLOCATION =&gt; true, CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST =&gt; 'POST', CURLOPT_POSTFIELDS =&gt;'{ "links": [ { "long_url": "https://www.google.co.in/", "expire_in": 100, "tracking": true, "callback_url": "https://www.google.co.in/", } ] }', CURLOPT_HTTPHEADER =&gt; array( 'Content-Type: application/json' ), )); $response = curl_exec($curl); curl_close($curl); echo $response;</pre> </div> <div role="tabpanel" class="tab-pane copy-text " id="callagent-1-4-4"> <pre class="prettyprint">import requests import json url = "https://&lt;your_api_key&gt;:&lt;your_api_token&gt;&lt;subdomain&gt;/v2/accounts/exotel/links" payload = "{\n\"links\": [\n{\n\"long_url\": \"https://www.google.co.in/\",\n\"expire_in\": 100,\n\"tracking\": true,\n\"callback_url\": \"https://www.google.co.in/\",\n\n}\n]\n}" headers = { 'Content-Type': 'application/json' } response = requests.request("POST", url, headers=headers, data=payload) print(response.text)</pre> </div> <div role="tabpanel" class="tab-pane copy-text " id="callagent-1-4-5"> <pre class="prettyprint">require "uri" require "json" require "net/http" url = URI("https://&lt;your_api_key&gt;:&lt;your_api_token&gt;&lt;subdomain&gt;/v2/accounts/exotel/links") http = Net::HTTP.new(url.host, url.port); request = Net::HTTP::Post.new(url) request["Content-Type"] = "application/json" request.body = "{\n\"links\": [\n{\n\"long_url\": \"https://www.google.co.in/\",\n\"expire_in\": 100,\n\"tracking\": true,\n\"callback_url\": \"https://www.google.co.in/\",\n\n}\n]\n}" response = http.request(request) puts response.read_body</pre> </div> </div> </div> <div> <ul class="nav nav-pills" role="tablist"> <li class="request">Example Request for DLT header (only for Indian Businesses)</li> <li role="presentation" class="active"><a href="#callagent-1-5-1" aria-controls="curl" role="tab" data-toggle="tab" aria-expanded="true">cURL</a></li> <li role="presentation" class=""><a href="#callagent-1-5-2" aria-controls="curl" role="tab" data-toggle="tab" aria-expanded="true">NodeJs - Native</a></li> <li role="presentation" class=""><a href="#callagent-1-5-3" aria-controls="curl" role="tab" data-toggle="tab" aria-expanded="true">PHP - cURL</a></li> <li role="presentation" class=""><a href="#callagent-1-5-4" aria-controls="curl" role="tab" data-toggle="tab" aria-expanded="true">Python - Requests</a></li> <li role="presentation" class=""><a href="#callagent-1-5-5" aria-controls="curl" role="tab" data-toggle="tab" aria-expanded="true">Ruby - Net::HTTP</a></li> </ul> <div class="tab-content"> <div role="tabpanel" class="tab-pane copy-text active" id="callagent-1-5-1"> <pre class="prettyprint lang-bsh">curl --location --request POST 'https://&lt;your_api_key&gt;:&lt;your_api_token&gt;&lt;subdomain&gt;/v2/accounts/exotel/links' \ --header 'Content-Type: application/json' \ --data-raw '{ "links": [ { "long_url": "https://www.google.co.in/", "expire_in": 100, "url_shorten_header": "EXOTEL", "tracking": true, "callback_url": "https://www.google.co.in/", } ] }' </pre> </div> <div role="tabpanel" class="tab-pane copy-text " id="callagent-1-5-2"> <pre class="prettyprint">var http = require('follow-redirects').http; var fs = require('fs'); var options = { 'method': 'POST', 'hostname': '&lt;your_api_key&gt;', 'port': &lt;your_api_token&gt;&lt;subdomain&gt;, 'path': '/v2/accounts/exotel/links', 'headers': { 'Content-Type': 'application/json' }, 'maxRedirects': 20 }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); var postData = "{\n\"links\": [\n{\n\"long_url\": \"https://www.google.co.in/\",\n\"expire_in\": 100,\n\"url_shorten_header\": \"EXOTEL\",\n\"tracking\": true,\n\"callback_url\": \"https://www.google.co.in/\",\n\n}\n]\n}"; req.write(postData); req.end();</pre> </div> <div role="tabpanel" class="tab-pane copy-text " id="callagent-1-5-3"> <pre class="prettyprint">&lt;?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL =&gt; 'https://%3Cyour_api_key%3E:%3Cyour_api_token%3E%3Csubdomain%3E/v2/accounts/exotel/links', CURLOPT_RETURNTRANSFER =&gt; true, CURLOPT_ENCODING =&gt; '', CURLOPT_MAXREDIRS =&gt; 10, CURLOPT_TIMEOUT =&gt; 0, CURLOPT_FOLLOWLOCATION =&gt; true, CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST =&gt; 'POST', CURLOPT_POSTFIELDS =&gt;'{ "links": [ { "long_url": "https://www.google.co.in/", "expire_in": 100, "url_shorten_header": "EXOTEL", "tracking": true, "callback_url": "https://www.google.co.in/", } ] }', CURLOPT_HTTPHEADER =&gt; array( 'Content-Type: application/json' ), )); $response = curl_exec($curl); curl_close($curl); echo $response;</pre> </div> <div role="tabpanel" class="tab-pane copy-text " id="callagent-1-5-4"> <pre class="prettyprint">import requests import json url = "https://&lt;your_api_key&gt;:&lt;your_api_token&gt;&lt;subdomain&gt;/v2/accounts/exotel/links" payload = "{\n\"links\": [\n{\n\"long_url\": \"https://www.google.co.in/\",\n\"expire_in\": 100,\n\"url_shorten_header\": \"EXOTEL\",\n\"tracking\": true,\n\"callback_url\": \"https://www.google.co.in/\",\n\n}\n]\n}" headers = { 'Content-Type': 'application/json' } response = requests.request("POST", url, headers=headers, data=payload) print(response.text)</pre> </div> <div role="tabpanel" class="tab-pane copy-text " id="callagent-1-5-5"> <pre class="prettyprint">require "uri" require "json" require "net/http" url = URI("https://&lt;your_api_key&gt;:&lt;your_api_token&gt;&lt;subdomain&gt;/v2/accounts/exotel/links") http = Net::HTTP.new(url.host, url.port); request = Net::HTTP::Post.new(url) request["Content-Type"] = "application/json" request.body = "{\n\"links\": [\n{\n\"long_url\": \"https://www.google.co.in/\",\n\"expire_in\": 100,\n\"url_shorten_header\": \"EXOTEL\",\n\"tracking\": true,\n\"callback_url\": \"https://www.google.co.in/\",\n\n}\n]\n}" response = http.request(request) puts response.read_body</pre> </div> </div> </div> <div class="wrapper-list"> <p>HTTP Response:</p> <ul> <li>On success, the HTTP response status code will be 200</li> <li>The Sid is the unique identifier of the shortened URL and it will be useful to log this for future debugging</li> <li>the HTTP body will contain an JSON similar to the one below</li> </ul> </div> <div> <ul class="nav nav-pills" role="tablist"> <li class="request">Example Response</li> <li role="presentation" class="active"><a href="#callagent-1-7-1" aria-controls="curl" role="tab" data-toggle="tab" aria-expanded="true">JSON</a></li> </ul> <div class="tab-content"> <div role="tabpanel" class="tab-pane copy-text active" id="callagent-1-7-1"> <pre class="prettyprint"><span style="font-weight: 400;">{</span> <span style="font-weight: 400;">    "request_id": "c3586f381db043e899138770673bc527",</span> <span style="font-weight: 400;">    "method": "POST",</span> <span style="font-weight: 400;">    "http_code": 200,</span> <span style="font-weight: 400;">    "metadata": {</span> <span style="font-weight: 400;">        "failed": 0,</span> <span style="font-weight: 400;">        "total": 1,</span> <span style="font-weight: 400;">        "success": 1</span> <span style="font-weight: 400;">    },</span> <span style="font-weight: 400;">    "response": [</span> <span style="font-weight: 400;">        {</span> <span style="font-weight: 400;">            "code": 200,</span> <span style="font-weight: 400;">            "error_data": null,</span> <span style="font-weight: 400;">            "status": "success",</span> <span style="font-weight: 400;">            "data": {</span> <span style="font-weight: 400;">                "sid": "6275306c51104f25802ba900eb4a977d",</span> <span style="font-weight: 400;">                "short_url": "https://exo.tl/VhK5vk",</span> <span style="font-weight: 400;">                "short_code": "VhK5vk",</span> <span style="font-weight: 400;">                "long_url": "</span><a href="https://www.google.co.in/"><span style="font-weight: 400;">https://www.google.co.in/</span></a><span style="font-weight: 400;">",</span> <span style="font-weight: 400;">                "tracking": true,</span> <span style="font-weight: 400;">                "custom_field": "Order details",</span> <span style="font-weight: 400;">                "expires_at": "2023-01-09 18:39:26",                           </span> <span style="font-weight: 400;">                "created_time": "2023-01-09 16:59:26",</span> <span style="font-weight: 400;">                "last_viewed": "0001-01-01T00:00:00Z"             </span> <span style="font-weight: 400;">                "total_clicks": 0, </span> "url_shorten_header": "EXOTEL" //This will be blank if the field is not used in the API request <span style="font-weight: 400;">            }</span> <span style="font-weight: 400;">        }</span> <span style="font-weight: 400;">    ]</span> <span style="font-weight: 400;">}</span></pre> </div> </div> </div> <div class="wrapper-list"> <p>Description of parameters mentioned in the above response:</p> <table class="table table-hover table-responsive table-bordered" style="width: 100%; height: 448px;"> <tbody> <tr style="height: 56px;"> <td style="height: 56px; width: 22.3777%;"> <p>Parameter Name</p> </td> <td style="height: 56px; width: 76.6899%;"> <p>Type &amp; Value</p> </td> </tr> <tr style="height: 52px;"> <td style="width: 22.3777%; height: 52px;"> <p>code</p> </td> <td style="width: 76.6899%; height: 52px;"> <p>The code to show the status of the request. Please refer to the error log below for more details </p> </td> </tr> <tr style="height: 56px;"> <td style="height: 56px; width: 22.3777%;"> <p>sid</p> </td> <td style="height: 56px; width: 76.6899%;"> <p>string; an alpha-numeric unique identifier of the shortened URL</p> </td> </tr> <tr style="height: 80px;"> <td style="height: 15px; width: 22.3777%;"> <p><span style="font-weight: 400;">short_url</span></p> </td> <td style="height: 15px; width: 76.6899%;"> <p>string; the shortened URL will be added here</p> </td> </tr> <tr style="height: 56px;"> <td style="height: 56px; width: 22.3777%;"> <p><span style="font-weight: 400;">short_code</span></p> </td> <td style="height: 56px; width: 76.6899%;"> <p>String; unique key of the shortened URL</p> </td> </tr> <tr style="height: 56px;"> <td style="height: 56px; width: 22.3777%;"> <p><span style="font-weight: 400;">long_url</span></p> </td> <td style="height: 56px; width: 76.6899%;"> <p>String ; <span style="font-weight: 400;">Original long URL which needed to be shortened</span></p> </td> </tr> <tr style="height: 56px;"> <td style="height: 10px; width: 22.3777%;"> <p><span style="font-weight: 400;">tracking</span></p> </td> <td style="height: 10px; width: 76.6899%;"> <p>String; Whether to track the URLs. Can be: "true" or "false".</p> </td> </tr> <tr style="height: 56px;"> <td style="height: 56px; width: 22.3777%;"> <p><span style="font-weight: 400;">custom_field </span></p> </td> <td style="height: 56px; width: 76.6899%;"><span style="font-weight: 400;">String ;Set a Custom Field relevant to your use case while sending a long URL. E.g Order ID, Payment ID, Login Attempt etc. Any content / json body upto 1024 chars</span></td> </tr> <tr style="height: 80px;"> <td style="height: 10px; width: 22.3777%;"> <p><span style="font-weight: 400;">expires_at</span></p> </td> <td style="height: 10px; width: 76.6899%;"> <p>Time in format YYYY-MM-DD HH:mm:ss; <span style="font-weight: 400;">time when short URL will expire </span></p> </td> </tr> <tr style="height: 56px;"> <td style="height: 56px; width: 22.3777%;"> <p><span style="font-weight: 400;">created_time</span></p> </td> <td style="height: 56px; width: 76.6899%;"> <p><span style="font-weight: 400;">Time in format YYYY-MM-DD HH:mm:ss; The time when the short URL was created</span></p> </td> </tr> <tr style="height: 80px;"> <td style="height: 41px; width: 22.3777%;"><span style="font-weight: 400;">last_viewed</span></td> <td style="height: 41px; width: 76.6899%;">Time in format YYYY-MM-DD HH:mm:ss; <span style="font-weight: 400;">time when short URL was last viewed</span></td> </tr> <tr style="height: 80px;"> <td style="height: 10px; width: 22.3777%;"><span style="font-weight: 400;">total_clicks</span></td> <td style="height: 10px; width: 76.6899%;">String ;count of total views of short url</td> </tr> </tbody> </table> <p><strong>HTTP Error codes - </strong></p> <div class="wrapper-list"> <table class="table table-hover table-responsive table-bordered" style="width: 100%; height: 784px;"> <tbody> <tr style="height: 104px;"> <td style="height: 104px;"> <p>Scenario</p> </td> <td style="height: 104px;"> <p>HTTP Error Codes</p> </td> <td style="height: 104px;"> <p>API Error code</p> </td> <td style="height: 104px;"> <p>Error Message</p> </td> </tr> <tr style="height: 56px;"> <td style="height: 56px;"> <p>On success</p> </td> <td style="height: 56px;"> <p>200</p> </td> <td style="height: 56px;"> <p>-</p> </td> <td style="height: 56px;"> <p>-</p> </td> </tr> <tr style="height: 56px;"> <td style="height: 56px;"> <p>On Partial Success</p> </td> <td style="height: 56px;"> <p>207</p> </td> <td style="height: 56px;"> <p>-</p> </td> <td style="height: 56px;"> <p>-</p> </td> </tr> <tr style="height: 80px;"> <td style="height: 80px;"> <p>Mandatory parameters are missing in the request body</p> </td> <td style="height: 80px;"> <p>400</p> </td> <td style="height: 80px;"> <p>1001</p> </td> <td style="height: 80px;"> <p>Bad Request - Mandatory Parameter missing</p> </td> </tr> <tr style="height: 80px;"> <td style="height: 80px;"> <p>values in the request body are invalid</p> </td> <td style="height: 80px;"> <p>400</p> </td> <td style="height: 80px;"> <p>1002</p> </td> <td style="height: 80px;"> <p>Bad Request - Invalid parameter</p> </td> </tr> <tr style="height: 56px;"> <td style="height: 56px;"> <p>Invalid request body </p> </td> <td style="height: 56px;"> <p>400</p> </td> <td style="height: 56px;"> <p>1007</p> </td> <td style="height: 56px;"> <p>Bad Request - Invalid request body,failed parsing</p> </td> </tr> <tr style="height: 56px;"> <td style="height: 56px;"> <p>Invalid credentials </p> </td> <td style="height: 56px;"> <p>401</p> </td> <td style="height: 56px;"> <p>1015</p> </td> <td style="height: 56px;"> <p>Unauthorized - Authentication failed</p> </td> </tr> <tr style="height: 80px;"> <td style="height: 80px;"> <p>User don’t have the access </p> </td> <td style="height: 80px;"> <p>403</p> </td> <td style="height: 80px;"> <p>1010</p> </td> <td style="height: 80px;"> <p>Forbidden - Your credentials are valid, but you don’t have access to the requested resource.</p> </td> </tr> <tr style="height: 80px;"> <td style="height: 80px;"> <p>Get request on invalid Sid or short_code</p> </td> <td style="height: 80px;"> <p>404</p> </td> <td style="height: 80px;"> <p>1012</p> </td> <td style="height: 80px;"> <p>Not Found - short code not found or expired</p> </td> </tr> <tr style="height: 56px;"> <td style="height: 56px;"> <p>Invalid Endpoint</p> </td> <td style="height: 56px;"> <p>404</p> </td> <td style="height: 56px;"> </td> <td style="height: 56px;"> <p>Not Found </p> </td> </tr> <tr style="height: 80px;"> <td style="height: 80px;">For any errors because of issue at server side</td> <td style="height: 80px;"> <p>5xx</p> </td> <td style="height: 80px;"> </td> <td style="height: 80px;"> <p>Server Errors - Something went wrong at our end. Please try again.</p> </td> </tr> </tbody> </table> <div class="wrapper-list"> </div> </div> </div> <hr> </section> <section class="sectionAPIClass" id="shortened-URL-details"> <h1 >Short URL details <sup class="beta-tag">New</sup> </h1> <div class="wrapper-list"> <p>To get the details of a shortened URL , you will need to make a HTTP GET request to</p> </div> <div class="well api-well"> <div class="col-sm"> <span class="get">GET</span> </div> <div class="col-sm" style="margin: auto 10px;"> <p class="copy-text"> <span>https://&lt;your_api_key&gt;:&lt;your_api_token&gt;&lt;subdomain&gt;/v2/accounts/&lt;your_sid&gt;/links/&lt;uuid&gt;</span> </p> </div> <div class="col-sm"> <li> <a type="button" id="apidocTrynowbtn" onclick="openConsolePage(event,'https://developer.exotel.com/api-console/product-sms#sendsms')" href="https://developer.exotel.com/api-console/product-sms#sendsms" class="api-try btn-block hidden" >Try it</a> </li> <!-- <input class="api-try btn-block <?php// echo esc_html($tryvalue); ?>" onclick="openConsolePage(event,'<?php// echo $tryProductUrl?>')" type="button" value="Try it"> --> </div> </div> <div class="wrapper-list"> <ul> <li>Replace <code>&lt;your_api_key&gt;</code> and <code>&lt;your_api_token&gt;</code> with the API key and token created by you.</li> <li>Replace <code>&lt;your_sid&gt;</code> with your “Account sid”</li> <li>Replace <code>&lt;subdomain&gt;</code> with the region of your account <ol> <li>&lt;subdomain&gt; of Singapore cluster is @api.exotel.com</li> <li>&lt;subdomain&gt; of Mumbai cluster is @api.in.exotel.com</li> </ol> </li> </ul> <p><code>&lt;your_api_key&gt;</code> , <code>&lt;your_api_token&gt;</code> and <code>&lt;your_sid&gt;</code> are available in the API settings page of your <a href="https://my.exotel.com/apisettings/site#api-credentials">Exotel Dashboard</a></p> </div> <div> <ul class="nav nav-pills" role="tablist"> <li class="request">Example Request</li> <li role="presentation" class="active"><a href="#callagent-2-4-1" aria-controls="curl" role="tab" data-toggle="tab" aria-expanded="true">cURL</a></li> <li role="presentation" class=""><a href="#callagent-2-4-2" aria-controls="curl" role="tab" data-toggle="tab" aria-expanded="true">NodeJs - Native</a></li> <li role="presentation" class=""><a href="#callagent-2-4-3" aria-controls="curl" role="tab" data-toggle="tab" aria-expanded="true">PHP - cURL</a></li> <li role="presentation" class=""><a href="#callagent-2-4-4" aria-controls="curl" role="tab" data-toggle="tab" aria-expanded="true">Python - Requests</a></li> <li role="presentation" class=""><a href="#callagent-2-4-5" aria-controls="curl" role="tab" data-toggle="tab" aria-expanded="true">Ruby - Net::HTTP</a></li> </ul> <div class="tab-content"> <div role="tabpanel" class="tab-pane copy-text active" id="callagent-2-4-1"> <pre class="prettyprint lang-bsh"><span style="font-weight: 400;">curl --location --request GET 'http://&lt;your_api_key&gt;:&lt;your_api_token&gt;&lt;subdomain&gt;/v2/accounts/&lt;account_sid&gt;/links/&lt;uuid&gt;</span></pre> </div> <div role="tabpanel" class="tab-pane copy-text " id="callagent-2-4-2"> <pre class="prettyprint">var http = require('follow-redirects').http; var fs = require('fs'); var options = { 'method': 'GET', 'hostname': '&lt;your_api_key&gt;', 'port': &lt;your_api_token&gt;&lt;subdomain&gt;, 'path': '/v2/accounts/&lt;account_sid&gt;/links/&lt;uuid&gt;', 'headers': { }, 'maxRedirects': 20 }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();</pre> </div> <div role="tabpanel" class="tab-pane copy-text " id="callagent-2-4-3"> <pre class="prettyprint">&lt;?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL =&gt; 'http://%3Cyour_api_key%3E:%3Cyour_api_token%3E%3Csubdomain%3E/v2/accounts/%3Caccount_sid%3E/links/%3Cuuid%3E', CURLOPT_RETURNTRANSFER =&gt; true, CURLOPT_ENCODING =&gt; '', CURLOPT_MAXREDIRS =&gt; 10, CURLOPT_TIMEOUT =&gt; 0, CURLOPT_FOLLOWLOCATION =&gt; true, CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST =&gt; 'GET', )); $response = curl_exec($curl); curl_close($curl); echo $response;</pre> </div> <div role="tabpanel" class="tab-pane copy-text " id="callagent-2-4-4"> <pre class="prettyprint">import requests url = "http://&lt;your_api_key&gt;:&lt;your_api_token&gt;&lt;subdomain&gt;/v2/accounts/&lt;account_sid&gt;/links/&lt;uuid&gt;" payload={} headers = {} response = requests.request("GET", url, headers=headers, data=payload) print(response.text)</pre> </div> <div role="tabpanel" class="tab-pane copy-text " id="callagent-2-4-5"> <pre class="prettyprint">require "uri" require "net/http" url = URI("http://&lt;your_api_key&gt;:&lt;your_api_token&gt;&lt;subdomain&gt;/v2/accounts/&lt;account_sid&gt;/links/&lt;uuid&gt;") http = Net::HTTP.new(url.host, url.port); request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body</pre> </div> </div> </div> <div class="wrapper-list"> <p>HTTP Response:</p> <ul> <li>On success, the HTTP response status code will be 200</li> <li>The Sid is the unique identifier of the shortened URL and it will be useful to log this for future debugging</li> <li>the HTTP body will contain an JSON similar to the one below</li> </ul> </div> <div> <ul class="nav nav-pills" role="tablist"> <li class="request">Example Response</li> <li role="presentation" class="active"><a href="#callagent-2-6-1" aria-controls="curl" role="tab" data-toggle="tab" aria-expanded="true">JSON</a></li> </ul> <div class="tab-content"> <div role="tabpanel" class="tab-pane copy-text active" id="callagent-2-6-1"> <pre class="prettyprint"><span style="font-weight: 400;">{</span> <span style="font-weight: 400;">    "request_id": "c3586f381db043e899138770673bc527",</span> <span style="font-weight: 400;">    "method": "POST",</span> <span style="font-weight: 400;">    "http_code": 200,</span> <span style="font-weight: 400;">    "metadata": {</span> <span style="font-weight: 400;">        "failed": 0,</span> <span style="font-weight: 400;">        "total": 1,</span> <span style="font-weight: 400;">        "success": 1</span> <span style="font-weight: 400;">    },</span> <span style="font-weight: 400;">    "response": [</span> <span style="font-weight: 400;">        {</span> <span style="font-weight: 400;">            "code": 200,</span> <span style="font-weight: 400;">            "error_data": null,</span> <span style="font-weight: 400;">            "status": "success",</span> <span style="font-weight: 400;">            "data": {</span> <span style="font-weight: 400;">                "sid": "6275306c51104f25802ba900eb4a977d",</span> <span style="font-weight: 400;">                "short_url": "https://exo.tl/VhK5vk",</span> <span style="font-weight: 400;">                "short_code": "VhK5vk",</span> <span style="font-weight: 400;">                "long_url": "</span><a href="https://www.google.co.in/"><span style="font-weight: 400;">https://www.google.co.in/</span></a><span style="font-weight: 400;">",</span> <span style="font-weight: 400;">                "tracking": true,</span> <span style="font-weight: 400;">                "custom_field": "Order details",</span> <span style="font-weight: 400;">                "expires_at": "2023-01-09 18:39:26",                           </span> <span style="font-weight: 400;">                "created_time": "2023-01-09 16:59:26",</span> <span style="font-weight: 400;">                "last_viewed": "0001-01-01T00:00:00Z"             </span> <span style="font-weight: 400;">                "total_clicks": 0,</span> <span style="font-weight: 400;">            }</span> <span style="font-weight: 400;">        }</span> <span style="font-weight: 400;">    ]</span> <span style="font-weight: 400;">}</span></pre> </div> </div> </div> <div class="wrapper-list"> <p>Description of parameters mentioned in the above response:</p> <table class="table table-hover table-responsive table-bordered" style="width: 100%; height: 448px;"> <tbody> <tr style="height: 56px;"> <td style="height: 56px; width: 22.3777%;"> <p>Parameter Name</p> </td> <td style="height: 56px; width: 76.6899%;"> <p>Type &amp; Value</p> </td> </tr> <tr style="height: 52px;"> <td style="width: 22.3777%; height: 52px;"> <p>code</p> </td> <td style="width: 76.6899%; height: 52px;"> <p>The code to show the status of the request. Please refer to the error log below for more details </p> </td> </tr> <tr style="height: 56px;"> <td style="height: 56px; width: 22.3777%;"> <p>Sid</p> </td> <td style="height: 56px; width: 76.6899%;"> <p>string; an alpha-numeric unique identifier of the shortened URL</p> </td> </tr> <tr style="height: 80px;"> <td style="height: 15px; width: 22.3777%;"> <p><span style="font-weight: 400;">short_url</span></p> </td> <td style="height: 15px; width: 76.6899%;"> <p>string; the shortened URL will be added here</p> </td> </tr> <tr style="height: 56px;"> <td style="height: 56px; width: 22.3777%;"> <p><span style="font-weight: 400;">short_code</span></p> </td> <td style="height: 56px; width: 76.6899%;"> <p>String; unique key of the shortened URL</p> </td> </tr> <tr style="height: 56px;"> <td style="height: 56px; width: 22.3777%;"> <p><span style="font-weight: 400;">long_url</span></p> </td> <td style="height: 56px; width: 76.6899%;"> <p>String ; <span style="font-weight: 400;">Original long URL which needed to be shortened</span></p> </td> </tr> <tr style="height: 56px;"> <td style="height: 10px; width: 22.3777%;"> <p><span style="font-weight: 400;">tracking</span></p> </td> <td style="height: 10px; width: 76.6899%;"> <p>String ; Whether to track the short URL click. Can be: "true" or "false". "ShortenUrl" needs to be "true" for Tracking to work.</p> </td> </tr> <tr style="height: 56px;"> <td style="height: 56px; width: 22.3777%;"> <p><span style="font-weight: 400;">custom_field </span></p> </td> <td style="height: 56px; width: 76.6899%;"><span style="font-weight: 400;">String ;Set a Custom Field relevant to your use case while sending a long URL. E.g Order ID, Payment ID, Login Attempt etc. Any content / json body upto 1024 chars</span></td> </tr> <tr style="height: 80px;"> <td style="height: 10px; width: 22.3777%;"> <p><span style="font-weight: 400;">expires_at</span></p> </td> <td style="height: 10px; width: 76.6899%;"> <p>Time in format YYYY-MM-DD HH:mm:ss; <span style="font-weight: 400;">time when short URL will expire </span></p> </td> </tr> <tr style="height: 56px;"> <td style="height: 56px; width: 22.3777%;"> <p><span style="font-weight: 400;">created_time</span></p> </td> <td style="height: 56px; width: 76.6899%;"> <p><span style="font-weight: 400;">Time in format YYYY-MM-DD HH:mm:ss; The time when the short URL was created</span></p> </td> </tr> <tr style="height: 80px;"> <td style="height: 41px; width: 22.3777%;"><span style="font-weight: 400;">last_viewed</span></td> <td style="height: 41px; width: 76.6899%;">Time in format YYYY-MM-DD HH:mm:ss; <span style="font-weight: 400;">time when short URL was last viewed</span></td> </tr> <tr style="height: 80px;"> <td style="height: 10px; width: 22.3777%;"><span style="font-weight: 400;">total_clicks</span></td> <td style="height: 10px; width: 76.6899%;">String ;count of total views of short url</td> </tr> </tbody> </table> <p><strong>HTTP Error codes - </strong></p> <table class="table table-hover table-responsive table-bordered"> <tbody> <tr> <td> <p>Scenario</p> </td> <td> <p>HTTP Error Codes</p> </td> <td> <p>API Error code</p> </td> <td> <p>Error Message</p> </td> </tr> <tr> <td> <p>On success</p> </td> <td> <p>200</p> </td> <td> <p>-</p> </td> <td> <p>-</p> </td> </tr> <tr> <td> <p>On Partial Success</p> </td> <td> <p>207</p> </td> <td> <p>-</p> </td> <td> <p>-</p> </td> </tr> <tr> <td> <p>Mandatory parameters are missing in the request body</p> </td> <td> <p>400</p> </td> <td> <p>1001</p> </td> <td> <p>Bad Request - Mandatory Parameter missing</p> </td> </tr> <tr> <td> <p>values in the request body are invalid</p> </td> <td> <p>400</p> </td> <td> <p>1002</p> </td> <td> <p>Bad Request - Invalid parameter</p> </td> </tr> <tr> <td> <p>Invalid request body </p> </td> <td> <p>400</p> </td> <td> <p>1007</p> </td> <td> <p>Bad Request - Invalid request body,failed parsing</p> </td> </tr> <tr> <td> <p>Invalid credentials </p> </td> <td> <p>401</p> </td> <td> <p>1015</p> </td> <td> <p>Unauthorized - Authentication failed</p> </td> </tr> <tr> <td> <p>User don’t have the access </p> </td> <td> <p>403</p> </td> <td> <p>1010</p> </td> <td> <p>Forbidden - Your credentials are valid, but you don’t have access to the requested resource.</p> </td> </tr> <tr> <td> <p>Get request on invalid Sid or short_code</p> </td> <td> <p>404</p> </td> <td> <p>1012</p> </td> <td> <p>Not Found - short code not found or expired</p> </td> </tr> <tr> <td> <p>Invalid Endpoint</p> </td> <td> <p>404</p> </td> <td>&nbsp;</td> <td> <p>Not Found </p> </td> </tr> <tr> <td>For any errors because of issue at server side</td> <td> <p>5xx</p> </td> <td>&nbsp;</td> <td> <p>Server Errors - Something went wrong at our end. Please try again.</p> </td> </tr> </tbody> </table> <div class="wrapper-list"> </div> </div> <hr> </section> </div> </div> <div class="row"> <footer id="footer"> <div class="container"> <div class="row"> <div class="col-sm-3"><img class="footer-logo" src="https://developer.exotel.com/wp-content/uploads/2019/10/exotel-footer-logo-2.svg" alt=""> </div> <div class="col-sm-6"> <ul class="list-inline footer-links"> <li><a href="https://exotel.com/about-us/">About Exotel</a></li> <li><a href="https://exotel.com/careers/">Careers</a></li> <li><a href="https://exotel.com/privacy-policy/">Privacy Policy</a></li> <li><a href="https://exotel.com/terms-of-service/">Terms of Service</a></li> <li><a href="http://support.exotel.in/support/home">Support</a></li> <li><a href="https://exotel.com/contact/">Contact</a></li> </ul> </div> <div class="col-sm-3 copyrights"> &copy 2024Exotel Telecom Pvt. Ltd.</div> </div> </div> </footer> </div> <script src="https://cdn-in.pagesense.io/js/exotel/c6a655fb28364a0d82a2e6874dbec9c0.js"></script> <!-- Google Tag Manager (noscript) snippet added by Site Kit --> <noscript> <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TSLF3FD" height="0" width="0" style="display:none;visibility:hidden"></iframe> </noscript> <!-- End Google Tag Manager (noscript) snippet added by Site Kit --> <script type='text/javascript' src='https://developer.exotel.com/wp-includes/js/dist/vendor/regenerator-runtime.min.js?ver=0.13.7' id='regenerator-runtime-js'></script> <script type='text/javascript' src='https://developer.exotel.com/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=3.15.0' id='wp-polyfill-js'></script> <script type='text/javascript' id='contact-form-7-js-extra'> /* <![CDATA[ */ var wpcf7 = {"api":{"root":"https:\/\/developer.exotel.com\/wp-json\/","namespace":"contact-form-7\/v1"},"cached":"1"}; var wpcf7 = {"api":{"root":"https:\/\/developer.exotel.com\/wp-json\/","namespace":"contact-form-7\/v1"},"cached":"1"}; /* ]]> */ </script> <script type='text/javascript' src='https://developer.exotel.com/wp-content/plugins/contact-form-7/includes/js/index.js?ver=5.5.3' id='contact-form-7-js'></script> <script type='text/javascript' src='https://developer.exotel.com/wp-includes/js/jquery/ui/core.min.js?ver=1.12.1' id='jquery-ui-core-js'></script> <script type='text/javascript' src='https://developer.exotel.com/wp-includes/js/jquery/ui/datepicker.min.js?ver=1.12.1' id='jquery-ui-datepicker-js'></script> <script type='text/javascript' id='jquery-ui-datepicker-js-after'> jQuery(document).ready(function(jQuery){jQuery.datepicker.setDefaults({"closeText":"Close","currentText":"Today","monthNames":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"nextText":"Next","prevText":"Previous","dayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayNamesShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dayNamesMin":["S","M","T","W","T","F","S"],"dateFormat":"MM d, yy","firstDay":1,"isRTL":false});}); jQuery(document).ready(function(jQuery){jQuery.datepicker.setDefaults({"closeText":"Close","currentText":"Today","monthNames":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"nextText":"Next","prevText":"Previous","dayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayNamesShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dayNamesMin":["S","M","T","W","T","F","S"],"dateFormat":"MM d, yy","firstDay":1,"isRTL":false});}); </script> <script type='text/javascript' src='https://developer.exotel.com/wp-content/themes/exotel/assets/js/scripts.js?ver=5.8.10' id='script-js'></script> <script type='text/javascript' src='https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js?ver=5.8.10' id='prettify-js'></script> <script type='text/javascript' src='https://developer.exotel.com/wp-includes/js/clipboard.min.js?ver=5.8.10' id='clipboard-js'></script> <script type='text/javascript' src='https://developer.exotel.com/wp-content/themes/exotel/assets/js/doc/custom.js?ver=5.8.10' id='custom-js'></script> <script type='text/javascript' src='https://developer.exotel.com/wp-content/themes/exotel/script.js?ver=5.8.10' id='des_script-js'></script> <script> window.fwSettings={ 'widget_id':3000000035 }; !function(){if("function"!=typeof window.FreshworksWidget){var n=function(){n.q.push(arguments)};n.q=[],window.FreshworksWidget=n}}() // collapase accordins var colhold=""; function funcollapse(x){ $(".coll-in").hide(); $(".icond").show(); $(".iconu").hide(); console.log(x) if(colhold==x){ // $(x).hide(); document.getElementById(x+"icond").style.display = ""; document.getElementById(x +"iconu").style.display = "none"; $(x).removeClass('collapsed'); document.getElementById(x).style.display = "none"; colhold=""; }else { // console.log(x+"icon") $(x).addClass('collapsed'); document.getElementById(x+"icond").style.display = "none"; document.getElementById(x +"iconu").style.display = ""; document.getElementById(x).style.display = ""; colhold=x; } // console.log(x,colhold) } </script> <script type='text/javascript' src='https://widget.freshworks.com/widgets/3000000035.js' async defer></script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10