v1
Get RecentCalls
Call detail records are only kept in the system for 30 days. As there could be a large number of CDRs, the api allows you to query pages of data at a time.
GET
Path Parameters
Example:
"5f8e8f60-4771-44cb-92a6-94ea66df0450"
Response
200 - application/json
Get RecentCalls
Example:
[
{
"account_sid": "5f8e8f60-4771-44cb-92a6-94ea66df0450",
"answered": true,
"answered_at": "2021-05-25T03:10:21.103Z",
"attempted_at": "2021-05-25T03:10:13.504Z",
"call_sid": "b5a66a30-6372-4b1e-a438-c43b069dfb47",
"direction": "outbound",
"duration": 12,
"from": "15083084809",
"host": "172.31.33.10",
"remote_host": "outbound.voxbone.com",
"sip_callid": "903f4797-37a9-123a-84b3-0285123e80eb",
"sip_status": 200,
"terminated_at": "2021-05-25T03:10:34.040Z",
"termination_reason": "caller hungup",
"to": "16137451576",
"trunk": "Voxbone"
},
{
"account_sid": "5f8e8f60-4771-44cb-92a6-94ea66df0450",
"answered": true,
"answered_at": "2021-05-25T03:10:04.557Z",
"attempted_at": "2021-05-25T03:10:04.355Z",
"call_sid": null,
"direction": "inbound",
"duration": 29,
"from": "+15083084809",
"host": "172.31.33.10",
"remote_host": "54.172.60.3",
"sip_callid": "6348dda20d379b05de4d108b9ac0f3cb@0.0.0.0",
"sip_status": 200,
"terminated_at": "2021-05-25T03:10:34.031Z",
"termination_reason": "caller hungup",
"to": "+15083728299",
"trunk": "Twilio"
},
{
"account_sid": "5f8e8f60-4771-44cb-92a6-94ea66df0450",
"answered": true,
"answered_at": "2021-05-25T03:09:51.008Z",
"attempted_at": "2021-05-25T03:09:44.256Z",
"call_sid": "8fc40cc5-f6ba-4752-8fc7-db2f770c441b",
"direction": "outbound",
"duration": 10,
"from": "15083084809",
"host": "172.31.33.10",
"remote_host": "outbound.voxbone.com",
"sip_callid": "7ec6343a-37a9-123a-84b3-0285123e80eb",
"sip_status": 200,
"terminated_at": "2021-05-25T03:10:01.737Z",
"termination_reason": "caller hungup",
"to": "16137451576",
"trunk": "Voxbone"
},
{
"account_sid": "5f8e8f60-4771-44cb-92a6-94ea66df0450",
"answered": true,
"answered_at": "2021-05-25T03:09:35.218Z",
"attempted_at": "2021-05-25T03:09:35.065Z",
"call_sid": null,
"direction": "inbound",
"duration": 26,
"from": "+15083084809",
"host": "172.31.33.10",
"remote_host": "54.172.60.3",
"sip_callid": "40ef23917e852aa170310b80f15766bc@0.0.0.0",
"sip_status": 200,
"terminated_at": "2021-05-25T03:10:01.714Z",
"termination_reason": "caller hungup",
"to": "+15083728299",
"trunk": "Twilio"
},
{
"account_sid": "5f8e8f60-4771-44cb-92a6-94ea66df0450",
"answered": true,
"answered_at": "2021-05-25T03:06:49.230Z",
"attempted_at": "2021-05-25T03:06:49.062Z",
"call_sid": null,
"direction": "inbound",
"duration": 9,
"from": "+15083084809",
"host": "172.31.33.10",
"remote_host": "54.172.60.3",
"sip_callid": "2c8991f358b424c11414baecbf51ea38@0.0.0.0",
"sip_status": 200,
"terminated_at": "2021-05-25T03:06:58.439Z",
"termination_reason": "called party hungup",
"to": "+15083728299",
"trunk": "Twilio"
},
{
"account_sid": "5f8e8f60-4771-44cb-92a6-94ea66df0450",
"answered": true,
"answered_at": "2021-05-25T03:05:08.692Z",
"attempted_at": "2021-05-25T03:05:06.975Z",
"call_sid": null,
"direction": "inbound",
"duration": 14,
"from": "+15083084809",
"host": "172.31.33.10",
"remote_host": "54.172.60.3",
"sip_callid": "6e16729eb64292f2e08ea67057f785cc@0.0.0.0",
"sip_status": 200,
"terminated_at": "2021-05-25T03:05:22.874Z",
"termination_reason": "called party hungup",
"to": "+15083728299",
"trunk": "Twilio"
},
{
"account_sid": "5f8e8f60-4771-44cb-92a6-94ea66df0450",
"answered": true,
"answered_at": "2021-05-25T03:01:44.689Z",
"attempted_at": "2021-05-25T03:01:42.989Z",
"call_sid": null,
"direction": "inbound",
"duration": 14,
"from": "15083084809",
"host": "172.31.32.10",
"remote_host": "81.201.82.45",
"sip_callid": "920PBU9DFL79L0U4RSMQNPSFPC@81.201.82.43",
"sip_status": 200,
"terminated_at": "2021-05-25T03:01:58.869Z",
"termination_reason": "called party hungup",
"to": "17162261128",
"trunk": "Voxbone"
},
{
"account_sid": "5f8e8f60-4771-44cb-92a6-94ea66df0450",
"answered": true,
"answered_at": "2021-05-25T03:00:38.934Z",
"attempted_at": "2021-05-25T03:00:37.259Z",
"call_sid": null,
"direction": "inbound",
"duration": 14,
"from": "15083084809",
"host": "172.31.32.10",
"remote_host": "81.201.82.45",
"sip_callid": "8DMMVB5EIT6S7BOC3009TL97SG@81.201.82.107",
"sip_status": 200,
"terminated_at": "2021-05-25T03:00:53.103Z",
"termination_reason": "called party hungup",
"to": "17162261128",
"trunk": "Voxbone"
}
]
Example:
"1"
Example:
"25"
Example:
8