Call Detail Records
Recent CDRs
Fetch the most recent Vobiz call detail records without date filters - a quick tail view of your latest voice traffic for real-time debugging and monitoring.
GET
/
api
/
v1
/
Account
/
{auth_id}
/
cdr
/
recent
Get the most recent CDRs
curl --request GET \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/cdr/recent \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'import requests
url = "https://api.vobiz.ai/api/v1/Account/{auth_id}/cdr/recent"
headers = {
"X-Auth-ID": "<api-key>",
"X-Auth-Token": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/cdr/recent', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"account_id": "MA_XXXXXXXX",
"count": 1,
"data": [
{
"account_id": "MA_XXXXXXXX",
"answer_time": "2026-03-25T10:00:01Z",
"billsec": 42,
"bridge_uuid": "99887766-5544-3322-1100-aabbccddeeff",
"call_direction": "outbound",
"caller_id_name": "John Doe",
"caller_id_number": "+919876543210",
"campaign_id": null,
"carrier_ip": "10.0.0.1",
"codec": "PCMU",
"context": "voice-api",
"cost": 0.45,
"created_at": "2026-03-25T10:00:42Z",
"currency": "INR",
"customer_endpoint": null,
"destination_number": "+918012345678",
"duration": 47,
"end_time": "2026-03-25T10:00:42Z",
"failure_code": null,
"failure_reason": null,
"hangup_cause": "NORMAL_CLEARING",
"hangup_cause_code": 4000,
"hangup_cause_name": "Normal Hangup",
"hangup_disposition": "send_bye",
"hangup_source": "Caller",
"id": 18000003,
"jitter": 0.2,
"mos": 4.5,
"network_addr": "10.0.0.1",
"origination_region": "mumbai",
"packet_loss": 0.1,
"progress_time": "2026-03-25T10:00:00Z",
"region": "ap-south-1",
"ring_time": 5,
"sip_call_id": "99887766-5544-3322-1100-aabbccddeeff",
"sip_user_agent": "Vobiz",
"start_time": "2026-03-25T10:00:00Z",
"streaming_cost": 0,
"terminated_to": null,
"total_cost": 0.45,
"trunk_id": null,
"updated_at": "2026-03-25T10:00:42Z",
"uuid": "99887766-5544-3322-1100-aabbccddeeff"
}
],
"success": true
}A quick tail view of your latest calls with no date range required. Returns the 20 most recent CDRs by default; pass
See the CDR overview for the full field glossary.
limit to retrieve more.
Query parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
limit | integer | 20 | Number of recent CDRs to return. |
The recent endpoint takes only
limit. The list/search filters (from_number, start_date, call_direction, page, per_page, etc.) do not apply here. To filter or page, use List CDRs.Response shape
Recent returns a trimmed envelope -{ account_id, count, data, success }. There is no pagination, no summary, and no filters block. The CDR objects in data carry the same 43 fields as the list endpoint.
Edge cases
- Empty account: returns
200withdata: []andcount: 0. - No paging: because there is no
pagination, you cannot walk past thelimit. For full history use the list endpoint and loop onhas_next.
Example
cURL
curl -G "https://api.vobiz.ai/api/v1/Account/{auth_id}/cdr/recent" \
--data-urlencode "limit=50" \
-H "X-Auth-ID: {auth_id}" \
-H "X-Auth-Token: {auth_token}"
Authorizations
Your Vobiz account Auth ID
Your Vobiz account Auth Token
Path Parameters
Your account Auth ID
Example:
"MA_XXXXXX"
Query Parameters
Number of recent CDRs to return.
Example:
50
Was this page helpful?
⌘I
Get the most recent CDRs
curl --request GET \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/cdr/recent \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'import requests
url = "https://api.vobiz.ai/api/v1/Account/{auth_id}/cdr/recent"
headers = {
"X-Auth-ID": "<api-key>",
"X-Auth-Token": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/cdr/recent', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"account_id": "MA_XXXXXXXX",
"count": 1,
"data": [
{
"account_id": "MA_XXXXXXXX",
"answer_time": "2026-03-25T10:00:01Z",
"billsec": 42,
"bridge_uuid": "99887766-5544-3322-1100-aabbccddeeff",
"call_direction": "outbound",
"caller_id_name": "John Doe",
"caller_id_number": "+919876543210",
"campaign_id": null,
"carrier_ip": "10.0.0.1",
"codec": "PCMU",
"context": "voice-api",
"cost": 0.45,
"created_at": "2026-03-25T10:00:42Z",
"currency": "INR",
"customer_endpoint": null,
"destination_number": "+918012345678",
"duration": 47,
"end_time": "2026-03-25T10:00:42Z",
"failure_code": null,
"failure_reason": null,
"hangup_cause": "NORMAL_CLEARING",
"hangup_cause_code": 4000,
"hangup_cause_name": "Normal Hangup",
"hangup_disposition": "send_bye",
"hangup_source": "Caller",
"id": 18000003,
"jitter": 0.2,
"mos": 4.5,
"network_addr": "10.0.0.1",
"origination_region": "mumbai",
"packet_loss": 0.1,
"progress_time": "2026-03-25T10:00:00Z",
"region": "ap-south-1",
"ring_time": 5,
"sip_call_id": "99887766-5544-3322-1100-aabbccddeeff",
"sip_user_agent": "Vobiz",
"start_time": "2026-03-25T10:00:00Z",
"streaming_cost": 0,
"terminated_to": null,
"total_cost": 0.45,
"trunk_id": null,
"updated_at": "2026-03-25T10:00:42Z",
"uuid": "99887766-5544-3322-1100-aabbccddeeff"
}
],
"success": true
}