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.
Language
Authorization
OAuth2
URL
Click Try It! to start a request and see the response here!