开通此接口后,我们将为您实时推送最新的状态报告,您需要提供一个推送的URL地址,接收HTTP POST请求。该接口每次最多推送1024条状态报告,为了不影响速度,请接收数据后做异步处理。
URL: https://your_status_receive_url
访问方式:POST
参数名 | 类型 | 是否必填 | 描述 |
---|---|---|---|
reports | String | 是 | 状态报告Json字符串 |
接口调用示例:
http://url地址?reports=json数据
名称 | 类型 | 描述 |
---|---|---|
mobile | String | 发送的手机号码 |
status | String | 短信状态 |
sendTs | Long | 短信发送时间戳 |
reportTs | Long | 短信状态回执时间戳 |
serNo | String | 短信批次号 |
[
{
"tpl_id":210,
"content":"【签名】您的验证码是654321",
"status":1,
"type":4,
"descr":null,
"statusStr":"审核通过"
},
{
"tpl_id":209,
"content":"【签名】您的验证码是123456",
"status":0,
"type":3,
"descr":null,
"statusStr":"待审核"
}
]