Must the Message & SMS API Request Address Be a Domain Name? Does the Service Provide a Fixed IP Address?
Note: To ensure service continuity, you are advised to use domain names for access.
The request access address provided by the Message & SMS service is a domain name. The Message & SMS service does not provide a fixed IP address. You can obtain a fixed IP address by parsing the domain name, for example:
ping smsapi.ap-southeast-1.myhuaweicloud.com
The Message & SMS 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 Chinese Mainland SMS or International SMS > Application Management to obtain the address. | https://smsapi.ap-southeast-1.myhuaweicloud.com:443 |
| URI | Obtain the URI from the API Type described in the "SMS Sending API" or "Batch SMS Sending API" section. | SMS sending: /sms/batchSendSms/v1 Batch SMS sending: /sms/batchSendDiffSms/v1 |
Two example Message & SMS API request addresses are as follows:
- SMS sending:
https://smsapi.ap-southeast-1.myhuaweicloud.com:443/sms/batchSendSms/v1
- Batch SMS sending:
https://smsapi.ap-southeast-1.myhuaweicloud.com:443/sms/batchSendDiffSms/v1
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.