Endpoint
Headers
JWT token obtained from login or registration. Pass the token directly as the header value.
Response
Unique identifier for the user.
Username of the user.
Current status of the user.
Error codes
401 Unauthorized
Authorization token was not provided or is invalid.Exception:
UnauthorizedExceptionThis error occurs when:- The
Authorizationheader is missing - The JWT token is invalid or expired
- The JWT token does not correspond to an existing user