企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions248

账号 ID → [账号ID] 密文corpid转明文(服务商)

AI-generated

Summary

Converts a service provider’s encrypted CorpID to its plaintext CorpID by calling the WeCom API. Use it with the source application ID and encrypted CorpID for each input item.

Inputs

  • sourceAgentid (required) — Agent ID of the authorized third-party or custom-built application; defaults to 1.
  • opencorpid (required) — Encrypted CorpID under the service provider’s account.

Output shape

A list of items containing the API response for each input item.

The provided source pack exposes only the operation function signature, so the response fields and any additional output handling are not shown.

Examples

Example 1: Convert an encrypted CorpID

Set the source application ID and provide the encrypted CorpID from the service provider account.

Links

Discussion