短信上行推送

注意:短信状态报告推送请求默认为post,请求体为json,接收到平台推送后,需要在8s内返回json格式,{"code": "200"},否则都视为推送失败,会有重推逻辑。重推时间:10s,30s,60s,600s,3600s。

短信上行推送参数

名称类型描述 示例
msgstring客户回复内容,需要urlencode解码
pushTypestringsmsUpward 固定字符
accountIdstring账号id
eventIdstring推送事件id,可用作接收推送的唯一性判断
mobilestring回复手机号
destcodestring短信外显号码
motimestring发送上行短信的时间
notifytimestring投递到短信通道的时间
短信上行推送参数示例
{"msg":"%E4%BD%A0%E5%A5%BD%E5%95%8A%0A","accountId":"1019","eventId":"812928001290022912","destcode":"10694734366140","notifyTime":"240611201759","mobile":"13778220778","moTime":"2406112017","pushType":"smsUpward"}
2024-06-11