企业微信(WeCom)-办公 icon

企业微信(WeCom)-办公

企业微信办公功能 - 文档、微盘、邮件、日程、会议、直播、打卡、审批、汇报、人事、会议室、紧急通知、公费电话

Actions259

邮件 → [邮件群组] 创建邮件群组

AI-generated

Summary

Creates a WeCom email group with an address, name, and at least one member scope. Sets who can use the group, optionally restricting access to specified users, departments, or tags.

Inputs

  • 群组地址 (groupid) (required) — Email-format address for the group.
  • 群组名称 (groupname) (required) — Group name; the UI description specifies a maximum of 200 bytes.
  • 成员邮箱列表 (email_list) — Member email addresses, separated by commas, Chinese commas, vertical bars, or newlines.
  • 群组邮箱列表 (group_list) — Email group addresses to include as members, using the same supported separators.
  • 部门ID列表 (department_list) — Department IDs to include as members, using the same supported separators.
  • 标签ID列表 (tag_list) — Tag IDs to include as members, using the same supported separators. At least one of the four member scopes must be provided.
  • 群组使用权限 (allow_type) — Who may use the group: enterprise members (default), anyone, group members, or custom members.
  • 允许使用的成员邮箱 (allow_emaillist) — For custom access, allowed member email addresses, using the supported separators.
  • 允许使用的部门ID (allow_departmentlist) — For custom access, allowed department IDs, using the supported separators.
  • 允许使用的标签ID (allow_taglist) — For custom access, allowed tag IDs, using the supported separators. At least one of the three custom access scopes must be provided.

Output shape

A single item containing the WeCom API response for the create-group request.

The source pack shows the operation implementation only at signature level, so the precise response fields are not available. The operation creates a group in WeCom.

Links

Discussion