企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

企业微信基础功能 - 通讯录、应用消息、群聊、消息推送、企业互联、素材、系统、电子发票、第三方应用授权、接口调用许可、收银台、对外收款、小程序对外收款、企业红包/向员工付款、数据与智能专区、会话内容存档、推广二维码、账号ID、安全管理

Actions248

通讯录管理 → [成员管理] 创建成员

AI-generated

Summary

Create a WeCom member using the required UserID and name, with optional contact, department, profile, and invitation settings. The operation submits the member details to WeCom and returns the API response for each input item.

Inputs

  • UserID and name (required) — Set the member’s unique UserID and display name.
  • Mobile and email — Provide at least one: mobile number or email address. Each must be unique within the company.
  • Department and ordering — Set comma-separated department IDs, with optional matching department order values and leader flags. Without a department, or with department 0, the member is placed in “Other (department to be set).” You can also set a main department and one direct manager UserID.
  • Member profile — Set position, gender, business email, address, alias, telephone, enabled status, avatar media ID, external position, and external profile attributes. Structured attribute fields can be combined with their JSON fields, with JSON taking precedence.
  • Invitation — Choose whether to invite the member to use WeCom; enabled by default.

Output shape

A list of items containing the WeCom API response for each created member.

The operation creates a member in the company contact directory. The source pack shows only function signatures for this operation, so the precise response fields are not available.

Links

Discussion