发送短信-SendSms

发送短信

Request Parameters

Parameter nameTypeDescriptionRequired
Phone.nstring接收短信的手机号码Yes
Contentstring短信内容(每超过70个字会多拆分一条短信)Yes

Response Elements

Parameter nameTypeDescriptionRequired
RetCodeint操作返回码Yes
Actionstring操作名称Yes

Request Example

http(s)://api.ucloud.cn/?Action=SendSms
&Phone.n=meJFydES
&Content=ANHcDrXp

Response Example

{
    "Action": "SendSmsResponse",
    "RetCode": 0
}