企小码私有化API
  1. 企业信息
企小码私有化API
  • 入门
    • 管理员登录
      POST
    • 查看登录信息
      POST
  • 信息获取
    • 企业信息
      • 获取部门信息
        POST
      • 获取企业成员列表
        POST
      • 获取组织架构
        POST
      • 获取所有标签
        POST
      • 获取分组标签
        POST
      • 获取某员工信息
        POST
      • 获取外部联系人列表
        POST
      • 获取外部联系人信息
        POST
      • 获取群聊列表
        POST
      • 获取群成员
        POST
    • 会话信息
      • 获取全局消息
      • 获取会话内容
    • 风险信息
      • 获取风险记录
    • 超时信息
      • 获取超时记录
    • 文件信息
      • 获取文件列表
  • 全局检索
    • 聊天记录
      GET
    • 联系人
      GET
    • 群聊
      GET
    • 文件
      GET
  • 数据同步
    • 同步员工
      POST
    • 同步客户
      POST
    • 同步存档员工
      POST
    • 同步内部群
      POST
    • 同步客户群
      POST
  1. 企业信息

获取外部联系人信息

POST
http://hhcd.yourdomain.com/admin/work_external_contact/getExternalInfo

请求参数

Query 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http://hhcd.yourdomain.com/admin/work_external_contact/getExternalInfo?token=&id=425'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 0,
    "data": {
        "id": 0,
        "external_userid": "string",
        "name": "string",
        "name_convert": "string",
        "position": null,
        "avatar": "string",
        "corp_name": null,
        "corp_full_name": null,
        "type": 0,
        "gender": 0,
        "unionid": null,
        "openid": null,
        "nickname": "string",
        "des": "string",
        "close_rate": null,
        "follow_status": 0,
        "follow_id": null,
        "follow_user": [
            {
                "userid": "string",
                "remark": "string",
                "description": null,
                "createtime": "string",
                "tags": "string",
                "remark_corp_name": "string",
                "remark_mobiles": null,
                "state": null,
                "del_type": 0,
                "delete_type": 0,
                "repeat_type": 0,
                "add_way": 0,
                "oper_userid": "string",
                "add_way_info": "string",
                "user_info": {
                    "id": 0,
                    "key": 0,
                    "corp_id": 0,
                    "userid": "string",
                    "name": "string",
                    "department": "string",
                    "order": "string",
                    "position": "string",
                    "mobile": "string",
                    "gender": "string",
                    "email": "string",
                    "is_leader_in_dept": "string",
                    "avatar": "string",
                    "thumb_avatar": "string",
                    "telephone": "string",
                    "enable": 0,
                    "alias": "string",
                    "address": "string",
                    "extattr": "string",
                    "status": 0,
                    "qr_code": "string",
                    "is_del": 0,
                    "openid": "string",
                    "is_external": 0,
                    "is_msg_audit": 0,
                    "dimission_time": 0,
                    "assign_custom": 0,
                    "assign_chat": 0,
                    "apply_num": 0,
                    "new_customer": 0,
                    "chat_num": 0,
                    "message_num": 0,
                    "replyed_per": "string",
                    "first_reply_time": "string",
                    "delete_customer_num": 0,
                    "department_name": "string",
                    "tag_name": [
                        "string"
                    ]
                },
                "is_lock": true
            }
        ],
        "tag_name": [
            "string"
        ],
        "per_name": [
            "string"
        ]
    },
    "message": "string",
    "sys_time": 0
}
修改于 2025-08-29 02:41:34
上一页
获取外部联系人列表
下一页
获取群聊列表
Built with