Skip to content

Super Message API webhook

momi00 edited this page Nov 14, 2023 · 1 revision

消息回调服务

对提供的webhook地址,进行Super API渠道的信息推送

消息回执

下发Super API消息后,对消息状态进行回执推送

  • URL:dr_webhook
  • Method:POST
  • Content-Type:application/json

回执参数

  • body 参数:
参数名 类型 说明
requestId String 消息发送请求标识
phone String 带国码的手机号码
channel String 渠道(SMS,VIBER)
code Number 状态码(状态码说明
message String 状态码信息
sendTime String 发送时间
cost Object 费用信息
  • cost json obj:
参数名 类型 说明
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 消息过期

简介

短信

语音

云呼叫中心(NXLink)

云呼叫中心(AI自动外呼)

Flash Call

短链

邮件验证码

DID号码

通用

号码检测

WhatsApp

Viber

Zalo ZNS

Super Message API

隐私号(旧)

PNS

坐席(旧版)

AI Agent

Clone this wiki locally