Skip to content

短信下行回执回调

bailuyang edited this page Aug 11, 2021 · 3 revisions

简要描述:

  • 短信下行的回执回调

请求URL:

  • 客户的短信上行地址同时作为本回执推送地址
  • 例如: http://did.nxcloud.com/didsms/smsUpPushTest

请求方式:

  • POST,以HTTP FORM表单格式提交
  • Content-Type:application/x-www-form-urlencoded

参数:

  • 参数与短信上行推送的参数一致,但代表意义有所不同,注意区分
参数名 必选 类型 说明
messageId string 短信id
toPhone string 接收短信的号码
fromPhone string 发送短信的号码(DID号码)
content string 发送的短信内容
size string 计费条数
price string 单价
receiveTime string 发送时间
smsStatus string 短信状态 DELIVRD(到达)\ UNDELIVR(未到达)

推送示例

messageId:fcf3432fd1834ccdac807a7cfb2d1fdf,toPhone:+18184505018,fromPhone:+12347200160,content:test from wang haha,size:1,price:0.0360,receiveTime:2021-02-07 14:54:00,smsStatus:DELIVRD

用户返回值 成功返回字符串:success 失败返回字符串:error

简介

短信

语音

云呼叫中心(NXLink)

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

Flash Call

短链

邮件验证码

DID号码

通用

号码检测

WhatsApp

Viber

Zalo ZNS

Super Message API

隐私号(旧)

PNS

坐席(旧版)

AI Agent

Clone this wiki locally