Lark icon

Lark

Consume Lark API

Actions118

通讯录 → 获取用户信息

AI-generated

Summary

Fetches a Lark user record by the selected user ID. Choose the ID type and provide the matching ID; optionally set the department ID format for department references in the result.

Inputs

  • authentication — Select Tenant Access Token or User Access Token authentication; Tenant Access Token is the default.
  • user_id_type — ID format for the required user ID: Open ID (default), Union ID, or User ID.
  • user_id (required) — The user ID to look up. Enter it directly or select a user found by phone number or email. The property notes that read permission for the base role is required.
  • options.department_id_type — Department ID format to request: Department ID or Open Department ID (default).

Output shape

A single JSON item containing the Lark API response data for the user.

The operation sends one request per input item to the Lark contact user information endpoint and passes through the response data. API errors are raised as node errors unless Continue On Fail is enabled.

Links

Discussion