Skip to content

Callbot API stopOrder

henryou edited this page Sep 26, 2024 · 3 revisions

callbot-api

v1.0.0

Base URLs:

aibot外部接口v3.0/订单操作

鉴权方式

鉴权请查看文档https://github.com/nxtele/http-api-document/wiki/Callbot-API-authorization

POST 停止订单呼叫

POST /callcentre/api/v3/stopOrder

停止订单操作不可逆

停止订单呼叫

Body 请求参数

{
  "productID": "callbot",
  "userTaskID": "string",
  "orderIDs": [
    "string"
  ],
  "delCall": 0
}

请求参数

名称 位置 类型 必选 说明
requestID header string 请求唯一id
uuid header string uuid,由被调用方给出
createTs header string 请求时间戳,(秒级)
sign header string 签名
algorithm header string 签名的算法:MD5或者SHA256,不填默认用MD5
body body object
» productID body string 定值"callbot"
» userTaskID body string 请求方的任务id(调用方生成并且保证唯一),建议使用uuid
» orderIDs body [string] 订单id列表
» delCall body integer 是否删除未拨打的数据,0:none,1:删除(谨慎使用)

返回示例

200 Response

{
  "retCode": 0,
  "retMsg": "string",
  "responseID": "string",
  "totalCount": 0,
  "successCount": 0,
  "errList": [
    {
      "orderID": "string",
      "errMsg": "string"
    }
  ]
}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

响应的header

名称 类型 必选 说明
requestID string 与请求头一致
uuid string 与请求头一致
createTs string 响应时的秒级时间戳
sign string 生成方法与请求头sign生成算法一样
algorithm string 与请求头一致,签名的算法:MD5或者SHA256,不填默认用MD5

返回数据结构

状态码 200

名称 类型 必选 约束 说明
» retCode integer true none 响应码,0为成功,其余为失败
» retMsg string true none 响应消息
» responseID string true none 随机唯一id,用于请求追踪,定位问题时需要提供该次请求的responseID
» totalCount integer true none 总数
» successCount integer true none 成功数
» errList [object] true none 错误列表
»» orderID string true none 暂停失败订单号
»» errMsg string true none 失败原因

简介

短信

语音

云呼叫中心(NXLink)

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

Flash Call

短链

邮件验证码

DID号码

通用

号码检测

WhatsApp

Viber

Zalo ZNS

Super Message API

隐私号(旧)

PNS

坐席(旧版)

AI Agent

Clone this wiki locally