云蝠智能 AI知识中心
查看隐私与安全
最后更新于 2023/07/05   阅读数 219

查看隐私与安全


  • 请求接口 agent-api/user/{user_id}/settings/get_security

  • 请求方式 GET

  • 路由参数

参数

类型

示例

解释

必填

user_id

string

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

用户id

  • 返回数据

    {
    "code": 200,
    "status": "success",
    "message": "查看用户隐私与安全成功",
    "data": {
        "init_security": {
            "disable_crm_phone": "客户公海",
            "disable_task_phone": "电话号码",
            "disable_record_phone": "通话记录",
            "disable_artificial_outbound_phone": "人工呼出",
            "disable_customer_management_phone": "客户管理",
            "disable_sms_phone": "短信",
            "lock_label": "锁定话术",
            "disable_wechat_phone": "微信通知号码"
        },
        "user_security": [
            {
                "slug": "disable_crm_phone",
                "name": "客户公海",
                "status": 1,
                "extra": {
                    "style": 1
                }
            },
            {
                "slug": "disable_task_phone",
                "name": "电话号码",
                "status": 1,
                "extra": {
                    "style": 1
                }
            },
            {
                "slug": "disable_record_phone",
                "name": "通话记录",
                "status": 1,
                "extra": {
                    "style": 1
                }
            },
            {
                "slug": "disable_artificial_outbound_phone",
                "name": "人工呼出",
                "status": 1,
                "extra": {
                    "style": 1
                }
            },
            {
                "slug": "disable_customer_management_phone",
                "name": "客户管理",
                "status": 1,
                "extra": {
                    "style": 1
                }
            },
            {
                "slug": "disable_wechat_phone",
                "name": "微信通知号码",
                "status": 1,
                "extra": {
                    "style": 1
                }
            }
        ],
        "code": true
    }
    
    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
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    plaintext

}

init_security:表示用户可以设置的隐私与安全

user_security:表示用户已有的隐私与安全

slug:表示加密号码的类型,取值为init_security中的键

style:表示加密号码的方式,可取值1或者2,1表示隐藏号码中间4位,2表示隐藏全部号码,表现形式位带 *(星号)。

code:表示是否设置安全码,true或者false

未能解决您的问题?请联系
本篇目录

查看隐私与安全