Skip to content

通过DID号码进行短信上行

ben.zhuang edited this page Oct 14, 2022 · 1 revision

简要描述:

  • 通过DID号码进行短信上行

请求URL:

  • 客户短信上行推送地址:由客户提供,客户接口必须按照如下格式编写
  • 例如: http://did.nxcloud.com/didsms/smsUpPushTest
  • 该推送地址同时会作为短信下行之后的回执推送地址

请求方式:

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

参数:

参数名 必选 类型 说明
messageId string 短信id
type string 短信类型:0上行,1下行
toPhone string 接收短信的号码(DID号码)
fromPhone string 发送短信的号码
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

Introduction

WhatsApp

Short message

Voice

Call Center(NXLink)

AI Agent(NXLink)

Call Center(Callbot)

Flash Call

Short links

邮件验证码

DID号码

通用

号码检测

Clone this wiki locally