Skip to main content

viewer

Retrieve information about the currently authenticated user.

Returns the user profile for the currently logged-in user based on their authentication token. Automatically determines the user from the request context.

Possible errors:

  • USER_NOT_FOUND_ERROR: Authenticated user not found in the system
viewer: IBaseUser!

Type

IBaseUser interface

Base interface for all user types in the system.

Defines common properties shared across users, contacts, and customers. This interface provides a unified structure for user-related data while allowing for type-specific implementations.