飞书 icon

飞书

飞书 API 集成,支持多种飞书功能

Actions105

通讯录 → 搜索用户

AI-generated

Summary

Search users in the Feishu organization's address book by a keyword matching usernames, using user-level or application-level credentials.

Inputs

  • 凭证类型 (required) — Choose the credential type to authenticate the request: user-level or application-level credentials.
  • 搜索关键词 (required) — The keyword string used to search for matching usernames in the organization's address book.
  • Return All — Whether to return all matching users or limit the number of results returned.
  • Limit — The maximum number of user records to return when Return All is false; must be between 1 and 200.
  • Options — Additional options including a Timeout setting (milliseconds) for the API request.

Output shape

a list of user records matching the search keyword

The search excludes external organization users and users who have left. When Return All is false, results are limited to the specified Limit. The operation requires user-level credentials for authorization.

Links

Discussion