Authing icon

Authing

Authing Admin API集成,支持用户管理等功能

用户管理 → 获取用户信息

AI-generated

Summary

Fetches a user record from Authing by the supplied identifier, with optional controls for the identifier type and included user data.

Inputs

  • userId (required) — Unique user identifier. The UI describes accepted values as user ID, username, email, phone number, externalId, or an ID from an external identity source.
  • options.userIdType — Identifier type sent to Authing; defaults to user_id. Declared choices include user_id, external_id, phone, email, username, identity, sync_relation, and custom_field.
  • options.flatCustomData — Whether to flatten extended fields; defaults to false.
  • options.withCustomData — Whether to include custom data; defaults to true.
  • options.withDepartmentIds — Whether to include the user's department ID list; defaults to true.
  • options.withIdentities — Whether to include identities; defaults to true.
  • options.withPost — Whether to include department information; defaults to true.
  • options.withTenantIds — Whether to include the IDs of tenants the user has joined; defaults to true.

Output shape

A single JSON item containing the Authing user response for each input item.

The operation implementation is not included in the supplied source pack, so the exact response envelope and how each option is transmitted could not be confirmed from source.

Links

Discussion