SDK Reference
The Artificial Intelligence Cloud Call Service SDK is a dependency package that simplifies development. It encapsulates low-level API calls and handles complex details such as network communication, request formatting, and response parsing. The SDK supports multiple languages. You can use its interfaces to quickly make outbound calls from communication agents, Large Language Model (LLM) agents, and intelligent contact bots. This lets you focus on your business logic without handling the underlying technical details.
SDK version guide
The Alibaba Cloud Artificial Intelligence Cloud Call Service provides two versions: V1.0 SDK and V2.0 SDK. The V2.0 SDK is the latest version and does not change any API features. Compared to V1.0 SDK, this version supports more programming languages, resolves the single-client thread safety issue of the V1.0 SDK, and offers greater robustness and ease of use. This provides a better development experience.
The V1.0 SDK is no longer maintained. Use the V2.0 SDK. If you are using the V1.0 SDK, upgrade to the V2.0 SDK.
SDK download links
Language | SDK installation method | GitHub address | Quick Start |
Java | |||
Python | |||
PHP | |||
Go | |||
TypeScript | - | ||
C++ | - | ||
Swift | - |
Usage examples
The following example shows how to use the Artificial Intelligence Cloud Call Service SDK to call a specified number using an intelligent contact bot.
Before you use the sample code, take note of the following parameters:
Endpoint: The service endpoint for Artificial Intelligence Cloud Call Service. Useaiccs.aliyuncs.com.AccessKeyIdandAccessKeySecret: Your AccessKey pair. To view your AccessKey ID, go to the Resource Access Management (RAM) console and click your RAM user name. The AccessKey secret cannot be retrieved after it is created. If you do not have a local backup, you must create a new AccessKey pair.