Place a new call to a telephone number

📘

Note:

Once call is anwered by the end user ,Webex Connect will send "answered event" to the URL configured in the API request.The client's application should send one of the following actions as response to the event.

Actions

Action NameDescription
AnsweredAnswered action is sent from developer application to Webex Connect, to inform Webex Connect to answer the call
HangupHangup action is sent from developer application to Webex Connect, to inform Webex Connect to hangup or reject the call
PlayPlay action is sent from developer application to Webex Connect, to play the provided content file or to use TTS to play the audio corresponding to the TTS text which was specified.
PatchPatch action is sent from developer application to Webex Connect, to inform Webex Connect to perform call patch operation.
RecordRecord action is sent from developer application to Webex Connect, to inform Webex Connectt to perform record operation.

All these actions have to include 200 OK as the response header.

Body Params
string
required

The calling party number to use when placing the call to the dialed number

string
required

Number to dial and start call sessions with.

string
required

URL for event callbacks that will provide the next actions for the call

integer

If present and a positive value, record the call for this many seconds. A value of 0 means to record until the end of the call.

boolean
Defaults to false

Not supported currently.

string

A user-provided arbitrary string value that will be stored with the call status and sent in all callback events.

Headers
string
required
length ≤ 64

An optional user provided value that is used to prevent duplicate requests. API requests with an Idempotency-Key value that has been used in the previous 1 hours will be rejected as a duplicate request.

Responses

Callback
Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json