This is a premium API, Please contact us to activate it
This widget can be used on any website to introduce an easy way for the users to place phone calls directly from their web site.
This widget can be used on any website to introduce an easy way for the users to place phone calls directly from their web site.
Widget Mandatory Parameters | Sample | Description |
---|---|---|
widgetAccId | 352434-763 | Widget Account ID, that can be obtained by the account admin from Company settings > API settings |
extension | Number | If not sent, must send the token, the extension you want to place the call from it |
password | String | If not sent, must send the token, the extension password you want to place the call from it |
ext_token | String | If not sent, must send the extension and password |
phonenumber | Call destination phone number | the phone number you want to call (it should be all numeric) |
Optional Parameters | Sample | Description |
---|---|---|
width | Integer | the width of the widget you want to show (default is 64px if not sent) |
height | Integer | the height of the widget you want to show (default is 64px if not sent) |
NoErrors | 1 or 2 | 1: No Error Image will be shown if the phone service is stopped or extension is inactive 2: (default value) Error Image will be shown if the phone service is stopped or extension is inactive |
Code to use:
Add this only once per page:
Add this as many times you want in the same page for every phone number:
Example:
if Extension is valid and service is active:
if Error or service not active:

if Error or service not active:
