呼叫API

更新于

目录

为坐席分配外显号码和动态号码组

基本信息

Path: /unified-api/call/openapi/ent/v1/agent/outnumber_group

Method: POST

接口描述:AssignNumbersAndGroupsToAgents 为多个坐席分配外显号码和动态号码组

请求参数

Headers

Body

返回数据

通话记录列表

基本信息

Path: /unified-api/call/openapi/ent/v1/records

Method: POST

接口描述:通话列表

请求参数

Headers

Body

返回数据

外显号码和动态号码组列表

基本信息

Path: /unified-api/call/openapi/ent/v1/rule_outnumber_group

Method: GET

接口描述:RuleNumbersAndGroups 所有的外显号码和动态号码组

请求参数

Headers

返回数据

客服与坐席绑定

基本信息

Path: /unified-api/call/openapi/ent/v1/sip_bind_agent

Method: POST

接口描述:SipBindAgent sip绑定坐席

请求参数

Headers

Body

返回数据

坐席列表

基本信息

Path: /unified-api/call/openapi/ent/v1/sips

Method: GET

接口描述:Sips 企业所有的sip号

请求参数

Headers

Qurey

返回数据

外呼

基本信息

Path:{{host}}/unified-api/call/openapi/ent/v1/callout

Method: POST

接口描述:通过 http 形式外呼

请求参数

Headers

Body

返回数据

以HTTP CODE判断请求是否成功

成功示例:HTTP CODE为200

{ "uuid": "2bbf137f-7707-4789-9f71-64cdfa5ddb22"}

失败示例:HTTP CODE不等于200,如40X,50X

BODY示例如下,提示error中的message即可

{    "error": {
        "code": "Unauthenticated",
        "message": "坐席未注册"    
              }
}