(Auto-creation of topic Documentation:HTCC:API:CallsDial:8.5.2 via TOC Documentation:HTCC:APITOC8.5.2) |
(→CallsDial) |
||
Line 1: | Line 1: | ||
− | = | + | =Dial= |
+ | __TOC__ | ||
+ | |||
+ | ==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: | ||
+ | <nowiki> | ||
+ | { | ||
+ | "phoneNumber": "5551212" | ||
+ | } | ||
+ | </nowiki> | ||
+ | |- | ||
+ | | userData | ||
+ | | An optional JSON object that includes key/value data to be included with the call: | ||
+ | <nowiki> | ||
+ | { | ||
+ | "Product": "Guitars" | ||
+ | } | ||
+ | </nowiki> | ||
+ | |} | ||
+ | |||
+ | ==Samples== | ||
+ | |||
+ | ===Request=== | ||
+ | |||
+ | ===Response=== | ||
+ | |||
+ | ===Notification=== | ||
[[Category:V:HTCC:8.5.2]] | [[Category:V:HTCC:8.5.2]] |
Revision as of 16:18, January 7, 2014
Dial
Contents
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!