JavaScript APIs

Zoho SalesIQ JavaScript APIs 

Zoho SalesIQ APIs are easy-to-use, quick-to-implement, designed to customize your Chat Widget based on your existing web presence and preferences.

Explore more about Zoho SalesIQ APIs and learn how to squeeze more power out of them for your business. 

How to Use?

You need to add the required JavaScript APIs in your website along with the Zoho SalesIQ Embed Code to control the behaviour of the Chat embedded in your website.

  • The JavaScript API code should be included after the Zoho SalesIQ Embed Code.
  • All the API codes must be enclosed within the Zoho SalesIQ Global Handler. "$zoho.salesiq.ready=function()" 
  • You can call any number of JS Apis here.
  1. <script  type="text/javascript">var $zoho= $zoho || {salesiq:{values:{},ready:function({}}};vard=document;s=d.createElement
  2. ("script");s.type="text/javascript";s.defer=true;s.src="
  3. ?embedname=salesiq";t=d.getElementsByTagName("script")[0];t.parentNode.insertBefore(s,t);</script>
  4. <script>
  5.  $zoho.salesiq.ready=function()
  6.   {
  7.    # Insert your Zoho SalesIQ Api here # 
  8.   }
  9. </script>

Keywords Explained

    • <VARIABLE NAME>  This should be replaced with the exact value for the variable.
    • Zoho SalesIQ Global Handler   All JavaScript APIs should be added inside the Zoho SalesIQ Global Handler "$zoho.salesiq.ready"
    • API  Explains the Api format.
    • Parameters   Explains the data to be given for an API.
    • *Parameter –These values are must, to get the APIs working.