Jump to: navigation, search
(Parameters)
(Parameters)
Line 28: Line 28:
 
| destination
 
| destination
 
| A JSON object that includes the number to be dialed:
 
| A JSON object that includes the number to be dialed:
<nowiki>
+
<pre>
 
{  
 
{  
 
   "phoneNumber": "5551212"  
 
   "phoneNumber": "5551212"  
 
}
 
}
</nowiki>
+
</pre>
 
|-
 
|-
 
| userData
 
| userData
 
| An optional JSON object that includes key/value data to be included with the call:
 
| An optional JSON object that includes key/value data to be included with the call:
<nowiki>
+
<pre>
 
{
 
{
 
   "Product": "Guitars"
 
   "Product": "Guitars"
 
}
 
}
</nowiki>
+
</pre>
 
|}
 
|}
  

Revision as of 16:21, January 7, 2014

Dial

Overview

This request initiates a new outbound call to the specified destination.

Request URL /api/v2/me/devices/{id}/calls
HTTP Method POST
Required Features api-voice

Parameters

Parameter Value
operationName Dial
destination A JSON object that includes the number to be dialed:
{ 
  "phoneNumber": "5551212" 
}
userData An optional JSON object that includes key/value data to be included with the call:
{
  "Product": "Guitars"
}

Samples

Request

Response

Notification

Comments or questions about this documentation? Contact us for support!