All Products
Search
Document Center

Short Message Service:Use SMS API

Last Updated:Dec 14, 2023

This topic describes the usage notes of Alibaba Cloud Short Message Service (SMS) API. For more information about how to use Alibaba Cloud APIs, see Overview.

Basic information

API versions

API version

Description

2018-05-01

We recommend that you use this version.

Endpoints

  1. If you use the domestic SMS service, use the global endpoint dysmsapi.aliyuncs.com.

  2. If you use the international SMS service, use the Singaporean endpoint dysmsapi.ap-southeast-1.aliyuncs.com. For more information about endpoints, see Endpoints.

Identities

Identity

Supported

Alibaba Cloud account

Yes

RAM user(recommended)

Yes

RAM role (recommended)

Yes

We recommend that you use a RAM user or RAM role to call operations. Before you use a RAM user or RAM role to call operations, you must grant the required permissions to the RAM user or RAM role.

Style

The API operations of SMS are called in the remote procedure call (RPC) style. For more information about API styles, see API styles.

Call methods

Call method

Supported

Description

Alibaba Cloud SDK (recommended)

Yes

For more information about the supported languages and dependencies of SMS SDKs, see Short Message Service SDKs.

Alibaba Cloud CLI

No

None.

Resource Orchestration Service (ROS)

No

None.

Terraform

No

None.

API encapsulation

Yes

None.