Query parameters
-
Edge string
Values are
unknown_edge
,carrier_edge
,sip_edge
,sdk_edge
, orclient_edge
. -
Direction string
Values are
unknown
,inbound
,outbound
, orboth
. -
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/{CallSid}/Metrics
curl \
-X GET https://insights.twilio.com/v1/Voice/{CallSid}/Metrics \
--user "username:password"
Response examples (200)
{
"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"
},
"metrics": [
{
"account_sid": "string",
"call_sid": "string",
"direction": "unknown",
"edge": "unknown_edge",
"timestamp": "string"
}
]
}
Response examples (200)
{
"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"
},
"metrics": [
{
"account_sid": "string",
"call_sid": "string",
"direction": "unknown",
"edge": "unknown_edge",
"timestamp": "string"
}
]
}