SDK Reference

Updated at:

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.

Note

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

SDK for Java

java-aiccs-20191015

Use Alibaba Cloud SDK for Java in an IDE

Python

SDK for Python

python-aiccs-20191015

Use Alibaba Cloud SDK for Python in an IDE

PHP

SDK for PHP

php-aiccs-20191015

Use Alibaba Cloud SDK for PHP in an IDE

Go

SDK for Go

go-aiccs-20191015

Use Alibaba Cloud SDK for Go in an IDE

TypeScript

SDK for TypeScript

typescript-aiccs-20191015

-

C++

SDK for C++

cpp-aiccs-20191015

-

Swift

SDK for Swift

swift-aiccs-20191015

-

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.

Note

Before you use the sample code, take note of the following parameters:

  • Endpoint: The service endpoint for Artificial Intelligence Cloud Call Service. Use aiccs.aliyuncs.com.

  • AccessKeyId and AccessKeySecret: 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.