企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions248

第三方应用接口调用许可 → [接口许可] 分配激活码给下游/下级企业

AI-generated

Summary

Assigns activation codes from an upstream company to a downstream company through the WeCom provider license API. Choose how to provide the codes and whether the assignment is for an upstream/downstream relationship or enterprise interconnection.

Inputs

  • Provider Access Token (required) — The provider_access_token used to call the provider license API.
  • 上游/上级企业ID (required) — The corpid of the upstream company that owns or shares the third-party or custom-developed app.
  • 下游/下级企业ID (required) — The corpid of the downstream company receiving the codes.
  • 激活码输入方式 — Choose individual form entries for a smaller list, or a JSON array for bulk input.
  • 分配的接口许可列表 (required) — In form mode, add activation codes individually. The list can contain 1–1000 codes; the number assigned to the downstream company cannot exceed twice its contact count in the linked-company address book.
  • 分配的接口许可列表(JSON) (required) — In JSON mode, provide an array of 1–1000 objects, each with an active_code field.
  • 分配场景(可选) — Select upstream/downstream (0, the default) or enterprise interconnection (1).

Output shape

A list of items containing the WeCom API response.

The operation makes a batch assignment request. Runtime response fields and any additional output wrapping are not shown in the supplied source pack.

Links

Discussion