List all Calls
List all calls.
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.
Path parameters
Universal Unique Identifier.
The Project ID that uniquely identifies the Account.
Query parameters
The time, in RFC 2822 GMT format, on which the call was terminated.
The time before which the call was terminated.
The time after which the call was terminated.
The address that initiated the call.
Universal Unique Identifier.
The unique identifier for the call that created this call.
The time, in RFC 2822 GMT format, on which the call began.
The time before which the call began.
The time after which the call began.
The status of the call.
The address that received the call.
The page number to retrieve. Page numbers are zero-indexed, so the first page is 0.
The number of results to return per page. The default is 50, and the maximum is 1000.
A token used to retrieve a specific page of results. Must start with PA or PB.
Response
The request has succeeded.
Example response
{
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Calls?Page=0&PageSize=50",
"first_page_uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Calls?Page=0&PageSize=50",
"next_page_uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Calls?Page=1&PageSize=50&PageToken=PAxxxxxxxxxx",
"page_size": 50,
"calls": [
{
"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
}
]
}