Skip to content

DID API Bind Callin With Amazon Connect

mayixin edited this page Nov 2, 2023 · 3 revisions

绑定呼入场景的connectDID号码与牛信DID,呼入牛信DID转接至Connect号码

  • URL:https://api2.nxcloud.com/did/openapi/amazon/bind/callin
  • Method:POST
  • Content-Type:application/json
  • 需要鉴权:

鉴权机制

鉴权规则请参考地址:API 接口调用约定

请求参数

header 参数:

参数名 类型 必选 示例值 说明
accessKey String fme2na3kdi3ki 用户身份标识
ts String 1655710885431 当前请求的时间戳(单位是毫秒),牛信服务端允许用户端请求最大时间误差为 60 秒
bizType String 9 业务类型,取固定值“9”
action String didaws 业务操作,取固定值“didaws”
sign String 6e9506557d1f289501d333ee2c365826 API 入参参数签名,签名算法

body 参数:

参数名 类型 必选 示例值 说明
connectDid String "62xxxxxxx" DID,绑定Amazon Connect 号码
calleeDid String "62xxxxxxxxx" 牛信的DID;如绑定的是默认号码,输入"default"

请求示例

body(application/json) 参数:

{
    "connectDid": "6569651801",
    "calleeDid": "6569651802"
}

响应参数

参数名 类型 说明
reqId String 请求Id
code Integer 结果编码
msg String 请求结果说明

响应示例

成功示例

{
    "reqId": "dc20f2d0-1899-4541-9e94-15d164221c03",
    "code": 0,
    "msg": "OK"
}

失败示例

{
    "reqId": "add6339f-cec1-4b19-b208-62dfaf9c8d48",
    "code": 2001,
    "msg": "请求的值不合法"
}

响应码说明

code message 解决办法
0 请求成功
1000~100X 鉴权问题 详情查看 API 鉴权部分
2001 请求的值不合法 检查请求
2002~200X 请求失败 请联系技术人员排除问题

简介

短信

语音

云呼叫中心(NXLink)

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

Flash Call

短链

邮件验证码

DID号码

通用

号码检测

WhatsApp

Viber

Zalo ZNS

Super Message API

隐私号(旧)

PNS

坐席(旧版)

AI Agent(对外api)

Clone this wiki locally