Domain name for API request: ccc.intl.tencentcloudapi.com.
This API is used to access phone service records and recordings.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeTelCdr. |
Version | Yes | String | Common Params. The value used for this API: 2020-02-10. |
Region | No | String | Common Params. This parameter is not required. |
StartTimeStamp | Yes | Integer | Start timestamp, Unix Timestamp in Seconds. Supports up to the past 180 days. |
EndTimeStamp | Yes | Integer | End timestamp, Unix Timestamp in Seconds. The range between the end time and start time is less than 90 days. |
Limit | No | Integer | Maximum number of returned entries (deprecated). |
Offset | No | Integer | Offset (deprecated). |
SdkAppId | No | Integer | Application ID (required) can be found at https://console.tencentcloud.com/ccc. |
PageSize | No | Integer | Page size (required), up to 100. |
PageNumber | No | Integer | Page number (required), starting from 0. |
Phones.N | No | Array of String | Filter by Phone Number. |
SessionIds.N | No | Array of String | Filter by SessionId. |
Parameter Name | Type | Description |
---|---|---|
TotalCount | Integer | Total number of call records. |
TelCdrList | Array of TelCdrInfo | Call record. |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
https://ccc.intl.tencentcloudapi.com/?Action=DescribeTelCdr
&SdkAppId=1400000000
&StartTimeStamp=1590547606
&EndTimeStamp=1590147606
&PageSize=10
&PageNumber=0
&<Common request parameters>
{
"Response": {
"TotalCount": 1,
"TelCdrList": [
{
"AcceptTimestamp": 1729756307,
"AsrUrl": "https://xxxxxx",
"Callee": "00860200000000",
"Caller": "0086075500000",
"CallerLocation": "广东深圳固话",
"CustomRecordURL": "https://xxxxxxxx.mp3",
"Direction": 0,
"Duration": 8,
"EndStatus": 1,
"EndStatusString": "ok",
"EndedTimestamp": 1729756315,
"HungUpSide": "seat",
"IVRDuration": 15,
"IVRKeyPressed": [
"香蕉"
],
"IVRKeyPressedEx": [
{
"Key": "香蕉",
"Label": "香蕉"
}
],
"PostIVRKeyPressed": [
{
"Key": "1",
"Label": "不满意"
}
],
"ProtectedCallee": "",
"ProtectedCaller": "",
"QueuedSkillGroupId": 2522,
"QueuedSkillGroupName": "test-tel",
"QueuedTimestamp": 1729756306,
"RecordId": "e9fdbff5-2e35-4480-83f7-81917e723fa5",
"RecordURL": "https://xxxxxxx.mp3",
"Remark": "skillGroupId--34588",
"RingTimestamp": 1729756306,
"SeatUser": {
"Mail": "xxxxxxx@tencent.com",
"Name": "xiaoming",
"Nick": "guanjia",
"Phone": "00861580000000",
"SkillGroupNameList": [
"1539",
"2522",
"3551"
],
"StaffNumber": "20012",
"UserId": "xxxxxxx@tencent.com"
},
"ServeParticipants": [
{
"AcceptTimestamp": 1729756306,
"CustomRecordURL": "https://xxxxx.mp3",
"EndStatusString": "ok",
"EndedTimestamp": 1729756312,
"Mail": "xxxxxx@tencent.com",
"Phone": "",
"RecordId": "96eaa575-be4c-48f1-99b8-9722f2f816ec",
"RecordURL": "https://xxxxxx.mp3",
"RingTimestamp": 1729756306,
"Sequence": 0,
"SkillGroupId": 2522,
"SkillGroupName": "test-tel",
"StartTimestamp": 1729756306,
"TransferFrom": "",
"TransferFromType": "",
"TransferTo": "",
"TransferToType": "",
"Type": "staffSeat"
}
],
"SessionId": "0955de87-c86d-4457-aac2-bee3d0a0b67a",
"SkillGroup": "test-tel",
"SkillGroupId": 2522,
"StartTimestamp": 1729756291,
"Time": 1729756291,
"UUI": "",
"Uui": "",
"VoicemailAsrURL": [],
"VoicemailRecordURL": []
}
],
"RequestId": "abc"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InternalError | An internal error occurs. |
InternalError.DBError | Internal database access failure. |
InvalidParameter.InstanceNotExist | The instance does not exist. |
InvalidParameterValue | parameter value is invalid. |
InvalidParameterValue.InstanceNotExist | The instance does not exist. |
Was this page helpful?