Skip to Content
Anuma SDKClientInternalFunctionsgetApiV1AdminUsersLookup

getApiV1AdminUsersLookup

getApiV1AdminUsersLookup<ThrowOnError>(options: Options<GetApiV1AdminUsersLookupData, ThrowOnError>): RequestResult<GetApiV1AdminUsersLookupResponses, GetApiV1AdminUsersLookupErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:582 

Lookup user by identifier

Retrieves account details, all app enrollments with balances, and text registrations. Accepts wallet_address, phone, telegram, email or account_id (exactly one required). The response’s privy block carries the email, resolved from the account’s Privy DID when the query itself did not go through Privy. When the identifier resolves to a Privy user that has no portal account (e.g. a Privy signup that never onboarded), returns 200 with account=null, portal_account_exists=false, and a privy block describing the Privy identity, instead of 404 — so an operator can still see (and delete) the Privy user.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<GetApiV1AdminUsersLookupData, ThrowOnError>

Returns

RequestResult<GetApiV1AdminUsersLookupResponses, GetApiV1AdminUsersLookupErrors, ThrowOnError>

Last updated on