The Voiso CDR API enables you to query call detail records from your account using various query parameters.
GET /api/v2/cdr
Success
application/json
Object
Call records array requested with page based pagination.
{
"page": 1,
"total": 5032,
"records": [
{
"agent": "Agent 1",
"from": "12345678912",
"disposition": "rejected",
"duration": "00:00:00",
"queue_name": "string",
"to": "5001",
"timestamp": "2020-04-20T09:38:33.000Z",
"uuid": "a619cccc-b832-4896-9be4-3ff12c3a6770",
"wrapup_code": "123",
"type": "outbound",
"agent_id": 1,
"cpc": 0.0053
}
]
}
Was this page helpful?
curl -X GET -G \
--url 'https://{cluster_id}.voiso.com/api/v2/cdr' \
-d 'key=user_api_key' \
-d 'search_token=dkeouof13kjhk4HHH59' \
-d 'page=1' \
-d 'per_page=20' \
-d 'start_date=2020-04-01' \
-d 'end_date=2020-05-01' \
-d 'cli=197' \
-d 'number=187' \
-d 'wildcard_cli=971231' \
-d 'wildcard_number=7751' \
-d 'queue_ids=199%2C%20201' \
-d 'agent_ids=1%2C2%2C3' \
-d 'team_ids=3%2C4' \
-d 'wrapup_codes=0001%2C%201002' \
-d 'campaign_ids=15%2C%2013%2C%2022' \
-d 'duration_from=1' \
-d 'duration_to=10' \
-d 'dialing_time_from=1' \
-d 'dialing_time_to=10' \
-d 'talk_time_from=1' \
-d 'talk_time_to=10' \
-d 'hold_time_from=1' \
-d 'hold_time_to=10' \
-d 'ivr_time_from=1' \
-d 'ivr_time_to=10' \
-d 'queue_time_from=1' \
-d 'queue_time_to=10' \
-d 'deleted_agent_ids=15%2C%2016%2C%2017' \
-d 'lead_source=Google%20ADS' \
-d 'start_datetime=2022-08-19T02%3A56%3A02' \
-d 'end_datetime=2022-08-19T02%3A56%3A02' \
-d 'uuid=a6c74840-574b-4e6e-baad-6b69bc38ccfc' \
-d 'related_call_uuid=8d1371d2-e166-4677-b158-b1782ddd412d' \
-d 'destination_name=Germany%20-%20Other'