Calls
Create a Call
Create a call.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice.
Learn more about API scopes.
post/Accounts/{AccountSid}/Calls
Path parameters
AccountSidstring uuid required
Universal Unique Identifier.
The Project ID that uniquely identifies the Account.
Response
The request has succeeded.
Example response
{
"date_created": "Wed, 19 Sep 2018 20:00:00 +0000",
"date_updated": "Wed, 19 Sep 2018 21:00:00 +0000",
"to": "+13105678901",
"formatted_to": "(310) 567-8901",
"to_formatted": "(310) 567-8901",
"from": "+13103384645",
"formatted_from": "(310) 338-4645",
"from_formatted": "(310) 338-4645",
"start_time": "Wed, 19 Sep 2018 20:00:01 +0000",
"end_time": "Fri, 21 Sep 2018 10:00:00 +0000",
"duration": 20,
"price": 0.003,
"price_unit": "USD",
"api_version": "2010-04-01",
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Calls/b3877c40-da60-4998-90ad-b792e98472ca.json",
"subresource_uris": {
"recordings": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Calls/b3877c40-da60-4998-90ad-b792e98472ca/Recordings.json"
},
"audio_in_mos": 4.5,
"sip_result_code": "200",
"audio_rtt_avg": 50,
"audio_rtt_min": 20,
"audio_rtt_max": 100,
"audio_out_jitter_min": 1,
"audio_out_jitter_max": 10,
"audio_out_jitter_avg": 5
}