Skip to main content

user

Looks up a single user by id. Requires a valid session token; any authenticated user may call it (no elevated role is enforced) and the result includes account fields such as email. Errors if no user has that id. For the caller's own record use me.

user(
id: BigInt!
): User

Arguments

user.id ● BigInt! non-null scalar

Target user id (BigInt as string).

Type

User object