Fetches a single user by their ID or email address. Use the type
query parameter to specify whether to query by ID
or EMAIL
. When using EMAIL
type, the ID parameter must be a valid email address.
The API key required for accessing protected routes. It should be included in the request headers as x-api-key
.
The ID or email address of the user to fetch.
Specify whether to query by ID
or EMAIL
. Defaults to ID
if not provided.
ID
, EMAIL
Successfully retrieved user.
A user account within the application system, containing profile information and activity tracking.