Get current user

Get the identity and authentication status of the current user.

Usage Notes:

Call this endpoint after authenticating to retrieve user details. It does not require any parameters other than the user's valid session or authentication token included in the request headers.

Usage Scenarios:

  • Session Validation: Quickly confirm user authentication and retrieve session-specific details at the start of a new session.
  • User Configuration: Retrieve settings or configurations specific to the user, allowing for a customized application experience based on user roles and permissions.

Best Practices:

  • Call this endpoint at the beginning of each session to ensure that the user's credentials are still valid and have not been revoked.
  • Use the information provided by this endpoint to tailor the user interface and functionality accessible to the user, enhancing security and user experience.
Click Try It! to start a request and see the response here!