tencent cloud

Cloud Contact Center

Announcement
What's New
Cloud Contact Center Terminology Update
What is Tencent Cloud Contact Center
Overview
Feature List
Terms Introduction
Handling Firewall Restrictions
AI Voicebot
Billing Guide
Voice Call Billing Overview
Desk Billing Overview
View Billing
Refund Policy
New User Guide
Voice Guide
Desk Guide
Use Case
Inbound: Customer Experience
Outbound: Telemarketing
Auto Dialer: Voice Notification
Integration Use Case (SDK)
Administrator Guide
Voice Guide
Desk Guide
Member Guide
Voice Guide
Desk Guide
AI Voice Agent Guide
Introducing AI Voice Agent
AI Voice Agent Practical Tutorial
Set Up Your AI Voice Agent
Activate AI Voice Agent Call
AI Voice Agent Call Logs
Developer Guide
SDK Development Guide
Data Push
Voice API Reference
History
Introduction
API Category
Making API Requests
Agent APIs
Skill Group APIs
Number APIs
Dual Call APIs
Predictive Outbound Call APIs
SIP Phone APIs
Call Service Record APIs
Billing APIs
Other APIs
Outbound Call APIs
Speech Intelligent Agent APIs
Data Types
Error Codes
Desk API Reference
API Reference
Callback Configuration
FAQs
Data Deletion Guide
Legal
Privacy Policy
Data Processing And Security Agreement
Service Level Agreements
TENCENT CLOUD CONTACT CENTRE TERMS OF USE
Glossary
Contact Us

DescribeTelCdr

PDF
フォーカスモード
フォントサイズ
最終更新日: 2026-03-27 10:45:44

1. API Description

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.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

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.
SdkAppId Yes Integer Application id (required) can be found at https://console.tencentcloud.com/ccc.
PageSize Yes Integer Page size (required), up to 100.
PageNumber Yes Integer <page number="" (required),="" starting="" from="" 0.="">.
Limit No Integer Maximum number of returned entries (deprecated).
Offset No Integer Offset (deprecated).
Phones.N No Array of String Filter by phone number.
SessionIds.N No Array of String Filter by sessionid.

3. Output Parameters

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.

4. Example

Example1 Sample Code For Accessing Phone Call Record

Input Example

https://ccc.intl.tencentcloudapi.com/?Action=DescribeTelCdr
&SdkAppId=1400000000
&StartTimeStamp=1590547606
&EndTimeStamp=1590147606
&PageSize=10
&PageNumber=0
&<Common request parameters>

Output Example

{
    "Response": {
        "TotalCount": 1,
        "TelCdrList": [
            {
                "AcceptTimestamp": 1729756307,
                "AsrStatus": "Complete",
                "AsrUrl": "https://xxxxxx",
                "Callee": "00860200000000",
                "Caller": "0086075500000",
                "CallerLocation": "Fixed line in Shenzhen, Guangdong"
                "CustomRecordURL": "https://xxxxxxxx.mp3",
                "Direction": 0,
                "Duration": 8,
                "EndStatus": 1,
                "EndStatusString": "ok",
                "EndedTimestamp": 1729756315,
                "HungUpSide": "seat",
                "IVRDuration": 15,
                "IVRKeyPressed": [
                    "Banana"
                ],
                "IVRKeyPressedEx": [
                    {
                        "Key": "Banana"
                        "Label": "Banana"
                        "NodeLabel": "Automatic Speech Recognition Navigation"
                        "OriginalContent": "Banana."
                        "TTSPrompt": "Enter your favorite fruit"
                        "Timestamp": 1729756303211
                    }
                ],
                "PostIVRKeyPressed": [
                    {
                        "Key": "1",
                        "Label": "Dissatisfaction"
                        "NodeLabel": "",
                        "OriginalContent": "",
                        "TTSPrompt": "",
                        "Timestamp": 0
                    }
                ],
                "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"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

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 Invalid Parameter
InvalidParameterValue.InstanceNotExist The SDKAppID does not exist.

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック