Wechat Work Node icon

Wechat Work Node

Wechat Work Node

用户管理 → 读取成员

AI-generated

Summary

Retrieve detailed information about a corporate WeChat Work user by their unique UserID.

Inputs

  • userid (required) — The UserID of the member, corresponding to the account in the admin console. It must be unique within the organization, case-insensitive, and between 1 to 64 bytes in length.

Output shape

a JSON object containing the detailed information of the specified user.

The operation performs a GET request to the WeChat Work API endpoint /cgi-bin/user/get with the provided userid as a query parameter. The returned data includes the user's profile details if the userid is valid. Errors from the API are thrown as node operation errors.

Examples

Example 1: Retrieve a user with UserID 'user123'

Set userid to 'user123' in the operation parameters.

Links

Discussion