知识中心
所有文章
帮助中心
AI客户联络中心 升级日志
API文档
AI客户联络
API接口
【新】云节点列表
对话接口
白标接口及地址
客户公海(线索阶段)筛选
最后更新于 2023/04/10   阅读数 126

客户公海(线索阶段)筛选


  • 请求接口 agent-api/user/{user_id}/type/{type}/get_customer

  • 请求方式 GET

  • 请求参数

参数

类型

示例

解释

必填

user_id

string

40863af8-db4a-41c6-a269-eb5bc386d97f

用户id

type

string

clue

客户公海阶段类型

page

int

1

分页

per_page

int

默认为15

分页数量

components

array

[]

客户公海组件信息

phone

string

9999999

手机号码 可开启加密

email

string

123456@qq.com

邮箱

company

string

xxx公司

公司

created_at

array

[“2023-03-23 14:00:00”,“2023-03-23 14:30:00”]

号码创建时间

operator

array

[1]

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

encryption

bool

false

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

sex

array

[1]

性别 (0 未知 1 男 2 女)

is_follow

int

1

跟进状态 (0代表未跟进  1代表跟进中)

ai_call

int

1

ai通话记录(0代表无 1代表有)

  • 请求案例

    {
       "components":[
           {
               "id":"280f5b43-0777-479d-b735-7270790aee92",  //客户公海模板的ID
               "value":"腾讯"                                //客户公海模板的值
           }
       ],
       "phone":"9999999",
       "email":"123456@qq.com",
       "created_at":["2023-03-23 14:00:00","2023-03-23 14:30:00"],
       "encryption":false,
       "sex":[1],
       "is_foolow":1,
       "ai_call":1
    }
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    plaintext
  • 说明

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

  • 返回

    {
        "code": 200,
        "status": "success",
        "message": "筛选客户公海列表成功",
        "meta": {
            "has_pages": false,
            "total": 1,
            "last_page": 1,
            "current_page": 1,
            "per_page": 15
        },
        "data": [
            {
                "id": "4d2e14b2-cc57-48ae-97d7-15d3b6fd0181",
                "user_id": "40863af8-db4a-41c6-a269-eb5bc386d97f",
                "created_user_id": "40863af8-db4a-41c6-a269-eb5bc386d97f",
                "phone": "9999999",
                "company": null,
                "email": "123456@qq.com",
                "is_back": 0,
                "source_id": 0,
                "industry_id": 0,
                "grade_id": 0,
                "name": "金山上",
                "sort": 102,
                "created_at": "2023-03-23 14:18:01",
                "updated_at": "2023-04-07 11:27:14",
                "inputted_at": "2023-03-23 14:17:22",
                "viewed_at": "2023-04-07 11:27:14",
                "province_id": 0,
                "city_id": 0,
                "operator": 0,
                "flow": 1,
                "extra": null,
                "sex": 0,
                "expect_transaction_at": null,
                "expect_transaction_fee": "0.00",
                "unfollow_back_at": null,
                "unsettled_back_at": "2023-07-01",
                "followed_at": "2023-03-23 14:18:52",
                "operator_name": "未知"
            }
        ]
    }
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    plaintext
未能解决您的问题?请联系