Wechat Work Node icon

Wechat Work Node

Wechat Work Node

用户管理 → userid转openid

AI-generated

Summary

Convert a given WeChat Work enterprise user ID (userid) into the corresponding openid used by WeChat Work.

Inputs

  • userid (required) — The enterprise user ID to convert to an openid.

Output shape

a JSON object containing the openid corresponding to the provided userid

The output directly reflects WeChat Work API's response for userid to openid conversion, typically including fields like openid or error messages if conversion fails.

Examples

Example 1: Convert a known enterprise userid 'john_doe' to openid

Set the 'userid' parameter to 'john_doe'.

Links

Discussion