Methods
Objects
DEPRECATED. Please use real-time instead.
Method | Description |
---|---|
(DEPRECATED) Cancel a scheduled call. You cannot cancel a call that ha... | |
(DEPRECATED) List calls for a specific Voice App. | |
(DEPRECATED) Get a call status. | |
(DEPRECATED) Start 2 calls (party A, party B). |
clicktocall/calls.cancel
(DEPRECATED) Cancel a scheduled call. You cannot cancel a call that has already started.
This method is DEPRECATED and may be removed in the future.
Relying on this method is highly discouraged.
method: clicktocall/calls.cancel
params: [string call]
Parameter | Type | Description | NULL |
---|---|---|---|
call | string |
Call identifier. Format: hash (Unique object identifier) |
NO |
Type | Description | Format/Object |
---|---|---|
bool | Always TRUE, throws an Exception otherwise. |
clicktocall/calls.get_list
(DEPRECATED) List calls for a specific Voice App.
This method is DEPRECATED and may be removed in the future.
Relying on this method is highly discouraged.
method: clicktocall/calls.get_list
params: [string app, string from, string to]
Parameter | Type | Description | NULL |
---|---|---|---|
app | string |
Voice App ID. Format: hash (Unique object identifier) |
NO |
from | string |
List calls between this date (inclusive). Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00") |
NO |
to | string |
And this date (inclusive). Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00") |
NO |
Type | Description | Format/Object |
---|---|---|
array | Calls. | Array of CLICKTOCALL.Call objects. |
clicktocall/calls.get_status
(DEPRECATED) Get a call status.
This method is DEPRECATED and may be removed in the future.
Relying on this method is highly discouraged.
method: clicktocall/calls.get_status
params: [string hash]
Parameter | Type | Description | NULL |
---|---|---|---|
hash | string |
Call identifier. Format: hash (Unique object identifier) |
NO |
Type | Description | Format/Object |
---|---|---|
object | Call status. | Object: CLICKTOCALL.Call |
clicktocall/calls.start_2
(DEPRECATED) Start 2 calls (party A, party B).
This method is DEPRECATED and may be removed in the future.
Relying on this method is highly discouraged.
method: clicktocall/calls.start_2
params: [string app, array a_targets, array b_targets, object options]
Parameter | Type | Description | NULL |
---|---|---|---|
app | string | The Click-to-Call Voice App ID. | NO |
a_targets | array |
Party A targets (called first). If multiple Targets are provided, they are called sequentially until someone takes the call. Array of objects: Target |
NO |
b_targets | array |
Party B targets (called if someone in A answered). If multiple Targets are provided, they are called sequentially until someone takes the call. Array of objects: Target |
NO |
options | object |
Click-to-Call Options Object: CLICKTOCALL.Start.Options |
YES |
Type | Description | Format/Object |
---|---|---|
string | Call identifier. | Format: hash (Unique object identifier) |