Huawei application market AGC(AppGallery Connect) Recently for enterprise developers , Launched the function of SMS service , The three carriers covering the Chinese mainland , Known as second touch ,99.9% The arrival rate of ,100% Actual incidence of , Easy access , Stable and reliable .
The following is the usage record of Huawei SMS service , Including detailed steps and operation screenshots , I hope I can help you .
1、 Opening service
Under the growth menu , choice SMS service , Click on Open now , Open this service .
Be careful : This portal is only open to enterprise developers who are certified as enterprises , See enterprise real name certification for details .

2、 Add signature
Under the SMS signature tab , Click on Add signature , Create a signature as needed . After filling in the corresponding information , You can submit it for review .

3、 Add SMS template :
On the SMS template tab , Click Add template

On the add page of SMS template , Configure the corresponding information , Of course , Templates can be used directly “ Common template library ” The content in .
When the configuration is complete , You can also click on the top right corner “ Template preview ”, Directly preview the situation after the corresponding SMS is received .

4、 Apply for access to
The next step is to apply for access . stay API Called tab , Click the application access account on the right .
Mine are two types API Have applied for , So it's gray , This is ignored . in addition , This application also needs to be approved , Need to wait patiently for a short time .

4、API Access test : Send a text message
Next is API Access test for , In fact, the whole process is based on official documents . You can also check the official API file .
1、 open Postman, Configure parameters according to the document , Fill in POST Address :
2、 from API Call page – View access information in , Get access IP And access port , Make corresponding replacement .
3、 Fill in body Required parameters for , Include :
account: That is, access account , It can be obtained from the access information
password: Access code : It can be obtained from the access information
requestLists、mobiles: Target mobile number to send , Can be more
templateId: The first 4 The SMS template number configured in step , Can be found in “ SMS template ” In order to get
templateParas: The corresponding parameters in the SMS template , If you have, write , Nothing is empty
signature: Signature , The first 3 The SMS signature configured in step
4、 Other parameters are optional :messageId,requestId Configure on demand

7、API Access test : Push status report
1、 open Postman, Configure parameters according to the document , Fill in POST Address :
2、 Get access to the developer server IP And access port , Make corresponding replacement .
Direction is Huawei servers -> Developer server , This needs special attention .
3、 Fill in body Required parameters for , Include :
Mobile: Phone number , And steps 6, The mobile phone number when sending SMS corresponds to
messageId: news ID, And steps 6 Configure optional messageId Corresponding
status: Send status code via SMS . Optional configuration
Other parameters are optional .

8、API Access test : Push uplink SMS
1、 open Postman, Configure parameters according to the document , Fill in POST Address :
2、 Get access to the developer server IP And access port , Make corresponding replacement .
Direction is Huawei servers -> Developer server . This needs special attention .
3、 Fill in body Required parameters for , Include :
Mobile: Phone number
Content: Content of short message 、 The content of the uplink SMS

9、 SMS sending effect & summary
Received the text message very timely , And there is no missing message , It's very easy to use , Strongly recommend .

Reference documents
Huawei SMS service official User Guide :
https://developer.huawei.com/...
SMS service – Send text messages API Interface operation instructions
https://developer.huawei.com/...
More highlights , Please see the official Huawei Developer Forum →https://developer.huawei.com/...

![[Yugong series] February 2022 wechat applet -app Networktimeout of JSON configuration attribute](/img/51/dcd0062dbf5fbbd04c6fc3737a0be2.jpg)






![[Yugong series] February 2022 wechat applet -app Subpackages and preloadrule of JSON configuration attribute](/img/94/a2447b3b00ad0d8fb990917531316d.jpg)
