Users & Authentication
Get Profile
Retrieve the authenticated user profile information
GET
Get Profile
Overview
Retrieves the profile information for the currently authenticated user. This endpoint returns user details associated with the JWT token provided in the request.Authentication
Requires JWT authentication viaAuthorization: Bearer <token> header.
Request
Headers
Bearer token for authentication
Response content type
Request origin
Response
Successfully retrieved user profile information
Response Schema
The response contains the authenticated user’s profile data, including:Unique user identifier
User’s display name
User’s email address
Account creation timestamp
Last profile update timestamp
Example Usage
Error Responses
Unauthorized - Invalid or missing JWT token
Forbidden - Valid token but insufficient permissions
Use Cases
- Retrieve current user information for profile display
- Verify user authentication status
- Fetch user preferences and settings
- Validate user session on page load
Related Endpoints
- GET /users/ - Get another user’s profile by ID
- POST /auth/login - Authenticate and obtain JWT token
- POST /auth/logout - End user session
Get Profile