Super Message API webhook - nxtele/http-api-document GitHub Wiki
消息回调服务
对提供的webhook地址,进行Super API渠道的信息推送
消息回执
下发Super API消息后,对消息状态进行回执推送
- URL:
dr_webhook
- Method:
POST
- Content-Type:
application/json
回执参数
参数名 |
类型 |
说明 |
requestId |
String |
消息发送请求标识 |
phone |
String |
带国码的手机号码 |
channel |
String |
渠道(SMS,VIBER) |
code |
Number |
状态码(状态码说明) |
message |
String |
状态码信息 |
sendTime |
String |
发送时间 |
cost |
Object |
费用信息 |
参数名 |
类型 |
说明 |
currency |
String |
币种 |
localPrice |
Number |
本币价格(CNY) |
originalPrice |
Number |
原币价格 |
回执示例
{
"requestId": "62e6c4a55c79435aa2228ca0bd6b2671",
"phone": "86186XX10196",
"channel": "VIBER",
"code": 14004,
"message": "Viber message has delivered",
"sendTime": "2023-10-25 10:00:09",
"cost": {
"currency": "CNY",
"localPrice": 28.7172,
"originalPrice": 28.7172
}
}
状态码说明
code |
message |
解决办法 |
14003 |
Send error |
发送失败 |
14004 |
Message has delivered |
消息已送达 |
14005 |
Message has undelivered |
消息未送达 |
14006 |
Message has expired |
消息过期 |