Overview

Sample Code

Web Hooks

IVR Web Hook SurVo NetGet Custom Audio Prompts Post Call Action Agent Panel Lookup Distributor Form

Call Initiation API

Click-to-Call Click-to-Find Me Click-to-Find Me List Click-to-Virtual Receptionist Click-to-Voice Mail Click-to-SurVo Click-to-IVR Click-to-Agent

Administration API

addonsbroadcastclicktoconferencecostfindmegeneralgrouplocatornumbersrecordingregisterednumbersreportroutingsmssurvoverifymenowvmail

Click-to-Call

Initiate a phone call between two numbers

Arguments

key (required if not using access_key)
Value must be the public key. Use 'key' if 'id' or 'phone_to_call' is a registered number, and you need to make client side requests.
access_key (required if not using public key)
Use Access key (plus Secret Access key) if both 'id' and 'phone_to_call' are unregistered numbers, or if you need the higher level of security provided with the Secret Access key. Requests with Access key must be done server side.
secret_access_key (required if using access_key)
The Secret Access key is used to validate the Access Key.
app (required)
Value = ctc
type (required)
Values: 1 = Call "phone_to_call" value first; 2 = Call "id" first.
id (required)
A registered number or the main number of the account if using Public key, any number if using Access Key.
phone_to_call (required)
Telephone number to call.
page (optional)
This can be used as a reference for what "page" the Click-to-Call was on. Can be a string of any value and shows up on the Smart Click-to-Call Activity report.
ref (optional)
This can be used as a reference for your own use. Can be a string of any value and shows up on the Smart Click-to-Call Activity report.
first_callerid (optional)
Sets the caller ID for the first leg of the call. The number must be one of the numbers in your account, a registered number or one of the two numbers being called.
second_callerid (optional)
Sets the caller ID for the second leg of the call. The number must be one of the numbers in your account, a registered number or one of the two numbers being called.

Client Side Example Request URL with Public Key

Here's a sample click-to-call between a registered number and another number:

https://secure.ifbyphone.com/click_to_xyz.php
?app=ctc
&id=8475550000
&phone_to_call=8475551212
&type=1
&key=PUBLIC_KEY
&page=Contact Page
&ref=Google PPC

The server will call 847.555.1212, and then call the (registered) number 847.555.0000.

Client Side Response (Text)

"Call Connected"