短信 - 提交模板短信

基本信息

请求Url: /v3/msg/templateMsg
Method: POST
Content-Type: application/json

请求参数

参数类型是否必须默认值备注
appKeystringY短信平台分配的appId
extSubNumstringN自定义扩展码
noncestringY随机数 最大长度32
orgCodestringN组织编号
outIdsstring []Y用户消息id数量应与手机号相同
phonesstring []Y手机号 小于100个
signstringY加密签名 md5(nonce + timestamp +appKey + appSecret)
signNamestringY短信签名内容 例如【卓鹰世纪】
templateCodestringY模板编号
templateParamstring []N模板参数 按参数在模板中出现的顺序排列
timestampstringY时间戳 yyyyMMddHHmmss格式

返回参数

参数类型是否必须默认值备注
codestringN响应码
dataobject []N数据
bizIdstringN短信平台消息唯一标识
describestringN错误描述
outIdstringN用户消息id
phonestringN手机号码
resultintegerN发送结果 0:成功,其它:失败
msgstringN响应信息