Updated on 2023-09-08 GMT+08:00

API Usage Description

API List

Sending SMSs

Receiving Status Reports

Status Report Receiving API: receives SMS sending status reports.

API Request Address

The API request address does not differentiate regions and provinces. The Message & SMS service on the Huawei Cloud international website uses the same address. The API request address consists of the Application Access Address and URI. The data sources are as follows:

Parameter

Source

Example

Application Access Address

Log in to the Message & SMS console, and choose International SMS > Application Management or Chinese Mainland SMS > Application Management to obtain the application access address.

https://smsapi.ap-southeast-1.myhuaweicloud.com:443

URI

Obtain the URI from the API Type described in SMS Sending API or Batch SMS Sending API.

SMS sending: /sms/batchSendSms/v1

Batch SMS sending: /sms/batchSendDiffSms/v1

Sample API request addresses are as follows:

  • Sending SMSs
    https://smsapi.ap-southeast-1.myhuaweicloud.com:443/sms/batchSendSms/v1
  • Sending SMSs in batches
    https://smsapi.ap-southeast-1.myhuaweicloud.com:443/sms/batchSendDiffSms/v1

Demos

Download the following demos to quickly develop applications: