Skip to content

PNS API unbind

henryou edited this page May 14, 2024 · 4 revisions

接口说明,根据bindId解绑A、B

请求url

https://api.nxcloud.com/v1/api/pns/

请求头

参数名 类型 必填 说明
accessKey string 用户的accessKey
action string 请求方法,示例:unbindAXB
bizType string 业务类型,固定为5,代表隐私号服务
ts string 毫秒级时间戳,示例:1670479632933
sign string 签名,签名算法

请求体

参数名 类型 必填 说明
customerBindId string 客户自定义的绑定id(由客户决定,需要保证唯一,customerBindId和bindId二选一即可)
bindId string 绑定时候,隐私号服务返回的绑定id(customerBindId和bindId二选一即可)

返回参数

参数名 类型 说明
code int 返回码,0代表成功,其他失败
msg string 返回码描述
requestId string 请求id

请求示例

请求url

https://api.nxcloud.com/v1/api/pns/

Header

KEY VALUE
accessKey xxxxxxxxxxxx
ts 1670479632933
bizType 5
action unbindAXB
sign faxxxxxxxxxxxxxxxxxxxxxxxxxxxxd4

Body

{
    "bindId": "f6e24ebdaf64ef91adb0b60e3b582db0"
}

返回示例

{
    "code": 0,
    "msg": "success",
    "requestId": "1602135125931462656"
}

简介

短信

语音

云呼叫中心(NXLink)

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

Flash Call

短链

邮件验证码

DID号码

通用

号码检测

WhatsApp

Viber

Zalo ZNS

Super Message API

隐私号(旧)

PNS

坐席(旧版)

AI Agent

Clone this wiki locally