Query parameters
-
From string
-
To string
-
FromCarrier string
-
ToCarrier string
-
FromCountryCode string
-
ToCountryCode string
-
Branded boolean
-
VerifiedCaller boolean
-
HasTag boolean
-
StartTime string
-
EndTime string
-
CallType string
-
CallState string
-
Direction string
-
ProcessingState string
Values are
completed
,started
,partial
, orall
. -
SortBy string
Values are
start_time
orend_time
. -
Subaccount string
-
AbnormalSession boolean
-
PageSize integer
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum value is
1
, maximum value is1000
.
GET /v1/Voice/Summaries
curl \
-X GET https://insights.twilio.com/v1/Voice/Summaries \
--user "username:password"
Response examples (200)
{
"call_summaries": [
{
"account_sid": "string",
"call_sid": "string",
"call_state": "ringing",
"call_type": "carrier",
"connect_duration": 42,
"created_time": "2023-05-04T09:42:00+00:00",
"duration": 42,
"end_time": "2023-05-04T09:42:00+00:00",
"processing_state": "complete",
"start_time": "2023-05-04T09:42:00+00:00",
"tags": [
"string"
],
"url": "https://example.com"
}
],
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
}
}
Response examples (200)
{
"call_summaries": [
{
"account_sid": "string",
"call_sid": "string",
"call_state": "ringing",
"call_type": "carrier",
"connect_duration": 42,
"created_time": "2024-05-04T09:42:00+00:00",
"duration": 42,
"end_time": "2024-05-04T09:42:00+00:00",
"processing_state": "complete",
"start_time": "2024-05-04T09:42:00+00:00",
"tags": [
"string"
],
"url": "https://example.com"
}
],
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
}
}