首页 > API中心 > IVR群呼 > 文档指引

 
 

消息状态报告推送

POST
客户提供的回调地址,通过这个地址向客户回推消息状态
 
推送参数
参数 说明 类型
appId 应用id String
channelType 通道类型:0-WhatsApp,默认0; Integer
messageId 消息id String
eventType 事件类型:message-status-event(下行消息事件)。 String
billable 是否计费:true-计费、false-不计费 String
form 消息发送方号码 String
recipient 消息接收方号码 String
recipientUserId 消息接收方BSUID String
recipientParentUserId 消息接收方Parent BSUID String
recipientUsername 消息接收方用户名 String
status 消息状态:failed(发送失败)、sent(已发送)、delivered(发送成功)、read(已读)、deleted(已删除) String
failure 失败原因(failed) String
conversationId 对话id(消息状态为:sent、delivered才返回) String
expiresAt 对话过期时间戳(秒级,消息状态为sent、delivered返回) Long
conversationType 对话类型:authentication(身份验证)、marketing(营销)、utility(交易相关)、service(服务)、referral_conversion(免费接入点) String
timestamp 推送状态时间戳(秒级) Long
 
推送示例
{
    "appId": "aiwanff",
    "channelType": 0,
    "conversationId": "9bfc551ba79a4e63b712b9a24e9b7149",
    "conversationType": "marketing",
    "eventType": "message-status-event",
    "expiresAt": 1693621620,
    "form": "8613487000260",
    "messageId": "5eb2462b086848fcbe9cac921d838141",
    "recipient": "8610000584927",
    "recipientUserId": "US.1052200954250283",
    "recipientParentUserId": "US.ENT.11815799212886844830",
    "recipientUsername": "king112",
    "status": "delivered",
    "timestamp": 1693535298
}

Telegram

微信扫码

立即咨询

客户服务热线

400-999-8488