企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions248

第三方应用推广二维码 → [推广二维码] 获取注册码

AI-generated

Summary

Requests a WeCom promotion QR-code registration code using the provider access token and promotion template ID. Optional fields can prefill company and administrator details, attach a custom state value, and assign a follow-up user.

Inputs

  • Provider Access Token (required) — Service provider provider_access_token.
  • 推广包ID (required) — Promotion QR-code template ID, up to 128 bytes.
  • 企业名称 — Prefills the company name in the registration form; up to 256 characters.
  • 管理员姓名 — Prefills the administrator name; up to 64 characters.
  • 管理员手机号 — Prefills the administrator mobile number; up to 20 characters.
  • State值 — Custom value of English letters and digits, up to 128 bytes; returned by registration status queries and completion callbacks.
  • 跟进人userid — User ID of a member of the provider's company, assigned as the follow-up person for enterprises created with this registration code; up to 64 characters.

Output shape

A single API response record containing the registration-code result.

Each returned register_code can be consumed only once. Use expires_in to generate the registration link and redirect the user before it expires.

Links

Discussion