Domain name for API request: ccc.intl.tencentcloudapi.com.
This API is used to query detailed information of an automatic outbound call task by TaskId, including basic configuration, start and end time, name list, execution status, and call status.
This API is usually used together with Create Bulk Automatic Outbound Call Task (https://www.tencentcloud.comom/document/product/679/69194?from_cn_redirect=1) to check whether the task configuration takes effect, the current task status, and real-time progress during execution once created.
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: DescribeAutoCalloutTask. |
| Version | Yes | String | Common Params. The value used for this API: 2020-02-10. |
| Region | No | String | Common Params. This parameter is not required. |
| SdkAppId | Yes | Integer | Application id (required) can be found at https://console.tencentcloud.com/ccc. |
| TaskId | Yes | Integer | Task id. |
| Parameter Name | Type | Description |
|---|---|---|
| Name | String | Task name. |
| Description | String | |
| NotBefore | Integer | Task start timestamp. |
| NotAfter | Integer | Task end timestamp. Note: this field may return null, indicating that no valid values can be obtained. |
| Callers | Array of String | Calling list. |
| Callees | Array of AutoCalloutTaskCalleeInfo | Called information list. |
| IvrId | Integer | IvrId used by the task. |
| State | Integer | Task status: 0 - initial, 1 - running, 2 - completed, 3 - ending, 4 - terminated. |
| MaxRingTimeoutSecond | Integer | Maximum ringing duration. auto hang up when the duration threshold is reached. only own number supports this parameter. |
| 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. |
POST / HTTP/1.1
Host: ccc.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeAutoCalloutTask
<Common request parameters>
{
"SdkAppId": 1,
"TaskId": 2
}{
"Response": {
"IvrId": 1,
"Name": "foobar",
"NotBefore": 1729905740,
"NotAfter": 1729905750,
"State": 1,
"Callers": [
"008610086"
],
"RequestId": "foobar",
"Callees": [
{
"State": 1,
"Callee": "foobar",
"Sessions": [
"foobar"
]
}
],
"Description": "foobar"
}
}
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.DBError | Internal database access failure. |
| InvalidParameter | Parameter error. |
| InvalidParameterValue | Invalid Parameter |
Feedback