知识中心
所有文章
帮助中心
AI客户联络中心 升级日志
API文档
AI客户联络
API接口
【新】云节点列表
对话接口
白标接口及地址
客户公海筛选进入任务
最后更新于 2023/11/22   阅读数 228

客户公海筛选进入任务


  • 请求接口 /agent-api/user/{user_id}/customer_to_task/{task_id}

  • 请求方式 GET

  • 请求参数

参数

类型

示例

解释

必填

user_id

string

5832d184-dd53-42a0-8ace-0bf8d660f4cc

用户id

components

array

[]

客户公海组件信息

phone

string

“13012121212”

手机号码 可开启加密

created_at

array

[“2021-06-30 13:20:28”,“2021-06-30 15:20:28”]

号码创建时间

operator

array

[1]

号码运营商(1代表电信,2代表联通,3代表移动)

encryption

bool

false

是否加密号码(开启接口加密后有效)

  • 请求案例

    {
       "components":[
           {
               "id":"280f5b43-0777-479d-b735-7270790aee92",  //客户公海模板的ID
               "value":"腾讯"                                //客户公海模板的值
           }
       ],
       "phone":"13012121212",
       "created_at":["2021-06-30 13:20:28","2021-06-30 13:25:28"],
       "operator":[1]
    }
    
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    plaintext
  • 说明

  • 该接口在使用前请先在代理端安设置接口客户公海导入任务回调 的URL,在处理完成后回通过此接口将信息返回给该URL

  • components中的id为组件的id,value为对应的值,id的值可以去创建公海模板的接口中获取

  • 返回

    {
        "code": 200,
        "status": "success",
        "message": "号码导入任务信息请在回调中查收",
        "data": {
            "unique_id": "52732ea0-a1c7-44c6-a709-7dee5070ed7f"
        }
    }
    
    1
    2
    3
    4
    5
    6
    7
    8
    plaintext
未能解决您的问题?请联系
本篇目录

客户公海筛选进入任务