get
https://{domainname}/CAServices/getCDRData.php
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Deprecation UpdateThis API will be deprecated by 30th April 2025.
We recommend to start using the new version of the API's to generate Call Detail Reports:
This API offers access to call detail reports from the dashboard portal, allowing them to retrieve data for the current day for a defined time range.
To access this API we need to pass the following parameters.
| Parameter | Description |
|---|---|
| api_key* | Available in Cloudagent Admin login |
| user_name* | CloudAgent account name |
| from_time* | Time in the format hh:mm:ss |
| to_time* | Time in the format hh:mm:ss |
Note:Parameters with ‘*’ are mandatory.
Possible responses
| Success Response | { "status": "success", "message": [ { "UCID": "35xxxxxxxxxx1", "monitorUCID": "35xxxxxxxxxx1", "UUI": "Hyderabad", "Did": "919xxxxxxx1", "Location": "Hyd", "StartTime": "2024-12-06 11:39:05", "CallerID": "+918xxxxxxxx2", "PhoneName": null, "Skill": "offline_hyd", "EndTime": "2024-12-06 11:39:40", "TimeToAnswer": "00:00:05", "Duration": "00:00:35", "FallBackRule": "AgentDial", "DialedNumber": "9xxxxxxx1", "Type": "InBound", "AgentID": "xxxx", "AgentUniqueID": null, "AgentName": "xxxxx", "Disposition": "", "HangupBy": "AgentHangup", "Status": "Answered", "AudioFile": "https://s3.ap-southeast-1.amazonaws.com/recordings.kookoo.in/demo_user/TXR42a772a10484eba6f5330f9d138be68c.mp3", "TransferType": "No Transfers", "TransferredTo": "", "Comments": "", "DialStatus": "answered", "ApiKey": "No Transfers", "AgentStatus": "answered", "CustomerStatus": "answered", "Campaign": "Inbound_919xxxxxx1", "TalkTime": "00:00:30", "HoldDuration": "00:00:00", "WrapUpDuration": null }, { "UCID": "35xxxxxxxxxx1", "monitorUCID": "35xxxxxxxxxx1", "UUI": "Hyderabad", "Did": "919xxxxxx1", "Location": "Hyd", "StartTime": "2024-12-06 11:36:52", "CallerID": "+918xxxxxxxx2", "PhoneName": null, "Skill": "offline_hyd", "EndTime": "2024-12-06 11:37:12", "TimeToAnswer": "00:00:17", "Duration": "00:00:20", "FallBackRule": "AgentDial", "DialedNumber": "9xxxxxxx1", "Type": "InBound", "AgentID": "xxxx", "AgentUniqueID": null, "AgentName": "xxxxxxx", "Disposition": "", "HangupBy": "AgentHangup", "Status": "Answered", "AudioFile": "https://s3.ap-southeast-1.amazonaws.com/recordings.kookoo.in/demo_user/xxxxxxxxf4f.mp3", "TransferType": "No Transfers", "TransferredTo": "", "Comments": "", "DialStatus": "answered", "ApiKey": "No Transfers", "AgentStatus": "answered", "CustomerStatus": "answered", "Campaign": "Inbound_919xxxxxxx1", "TalkTime": "00:00:03", "HoldDuration": "00:00:00", "WrapUpDuration": null } ][ { "UCID": "35xxxxxxxxxx1", "monitorUCID": "35xxxxxxxxxx1", "UUI": "Hyderabad", "Did": "919xxxxxxx1", "Location": "Hyd", "StartTime": "2024-12-06 11:39:05", "CallerID": "+918xxxxxxxx2", "PhoneName": null, "Skill": "offline_hyd", "EndTime": "2024-12-06 11:39:40", "TimeToAnswer": "00:00:05", "Duration": "00:00:35", "FallBackRule": "AgentDial", "DialedNumber": "9xxxxxxx1", "Type": "InBound", "AgentID": "xxxx", "AgentUniqueID": null, "AgentName": "xxxxx", "Disposition": "", "HangupBy": "AgentHangup", "Status": "Answered", "AudioFile": "https://s3.ap-southeast-1.amazonaws.com/recordings.kookoo.in/demo_user/TXR42a772a10484eba6f5330f9d138be68c.mp3", "TransferType": "No Transfers", "TransferredTo": "", "Comments": "", "DialStatus": "answered", "ApiKey": "No Transfers", "AgentStatus": "answered", "CustomerStatus": "answered", "Campaign": "Inbound_919xxxxxx1", "TalkTime": "00:00:30", "HoldDuration": "00:00:00", "WrapUpDuration": null }, { "UCID": "35xxxxxxxxxx1", "monitorUCID": "35xxxxxxxxxx1", "UUI": "Hyderabad", "Did": "919xxxxxx1", "Location": "Hyd", "StartTime": "2024-12-06 11:36:52", "CallerID": "+918xxxxxxxx2", "PhoneName": null, "Skill": "offline_hyd", "EndTime": "2024-12-06 11:37:12", "TimeToAnswer": "00:00:17", "Duration": "00:00:20", "FallBackRule": "AgentDial", "DialedNumber": "9xxxxxxx1", "Type": "InBound", "AgentID": "xxxx", "AgentUniqueID": null, "AgentName": "xxxxxxx", "Disposition": "", "HangupBy": "AgentHangup", "Status": "Answered", "AudioFile": "https://s3.ap-southeast-1.amazonaws.com/recordings.kookoo.in/demo_user/xxxxxxxxf4f.mp3", "TransferType": "No Transfers", "TransferredTo": "", "Comments": "", "DialStatus": "answered", "ApiKey": "No Transfers", "AgentStatus": "answered", "CustomerStatus": "answered", "Campaign": "Inbound_919xxxxxxx1", "TalkTime": "00:00:03", "HoldDuration": "00:00:00", "WrapUpDuration": null } ] } |
| If any parameter is not passed | {"status":"failure","msg":"All Parameters are Mandatory"} |
| Invalid api_key | {"status":"failure","message":"Please provide UserName"} |
| Invalid username | {"status":"failure","message":"Please provide UserName"} |
| no data found | {"status":"failure","message":"no record found"} |
Further InsightsBy default, the domain name is https://in1-ccaas-api.ozonetel.com. Please refer here to change based on the need.
