Get a list of Call Insight Events for a Call.
Get a list of Call Insight Events for a Call.
Path parameters
-
The unique SID identifier of the Call.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^CA[0-9a-fA-F]{32}$
.
Query parameters
-
The Edge of this Event. One of
unknown_edge
,carrier_edge
,sip_edge
,sdk_edge
orclient_edge
.Values are
unknown_edge
,carrier_edge
,sip_edge
,sdk_edge
, orclient_edge
. -
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
. -
The page index. This value is simply for client state.
Minimum value is
0
. -
The page token. This is provided by the API.
GET
/v1/Voice/{CallSid}/Events
curl \
--request GET 'https://insights.twilio.com/v1/Voice/{CallSid}/Events' \
--user "username:password"
Response examples (200)
Read
{
"meta": {
"key": "events",
"url": "https://insights.twilio.com/v1/Voice/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Events?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://insights.twilio.com/v1/Voice/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Events?PageSize=50&Page=0",
"previous_page_url": null
},
"events": [
{
"edge": "sdk_edge",
"name": "error",
"group": "connection",
"level": "ERROR",
"call_sid": "CA03a02b156c6faa96c86906f7e9ad0f38",
"sdk_edge": {
"error": {
"code": 31600
},
"metadata": {
"sdk": {
"os": {
"name": "android",
"version": "4.3"
},
"type": "twilio-voice-android",
"device": {
"arch": "armeabi-v7a",
"type": "GT-I9300",
"model": "GT-I9300",
"vendor": "samsung"
},
"version": "4.5.1",
"platform": "android",
"selected_region": "gll"
},
"city": "Mountain View",
"location": {
"lat": 37.4192,
"lon": -122.0574
},
"ip_address": "108.177.7.83",
"client_name": "GTI9300323095d271b890c91568931321395",
"country_code": "US",
"country_subdivision": "California"
}
},
"sip_edge": null,
"timestamp": "2019-09-19T22:15:23Z",
"account_sid": "AC998c10b68cbfda9f67277f7d8f4439c9",
"client_edge": null,
"carrier_edge": null
}
]
}
{
"meta": {
"key": "events",
"url": "https://insights.twilio.com/v1/Voice/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Events?PageSize=5&Page=10",
"page": 10,
"page_size": 5,
"next_page_url": null,
"first_page_url": "https://insights.twilio.com/v1/Voice/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Events?PageSize=5&Page=0",
"previous_page_url": "https://insights.twilio.com/v1/Voice/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Events?PageSize=5&Page=9&PageToken=PT10"
},
"events": [
{
"edge": "sdk_edge",
"name": "error",
"group": "connection",
"level": "ERROR",
"call_sid": "CA03a02b156c6faa96c86906f7e9ad0f38",
"sdk_edge": {
"error": {
"code": 31600
},
"metadata": {
"sdk": {
"os": {
"name": "android",
"version": "4.3"
},
"type": "twilio-voice-android",
"device": {
"arch": "armeabi-v7a",
"type": "GT-I9300",
"model": "GT-I9300",
"vendor": "samsung"
},
"version": "4.5.1",
"platform": "android",
"selected_region": "gll"
},
"city": "Mountain View",
"location": {
"lat": 37.4192,
"lon": -122.0574
},
"ip_address": "108.177.7.83",
"client_name": "GTI9300323095d271b890c91568931321395",
"country_code": "US",
"country_subdivision": "California"
}
},
"sip_edge": null,
"timestamp": "2019-09-19T22:15:23Z",
"account_sid": "AC998c10b68cbfda9f67277f7d8f4439c9",
"client_edge": null,
"carrier_edge": null
}
]
}