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
string
required
Bearer token for authentication
string
required
Response content type
string
required
Request origin
Response
object
Successfully retrieved user profile information
Response Schema
The response contains the authenticated user’s profile data, including:string
Unique user identifier
string
User’s display name
string
User’s email address
string
Account creation timestamp
string
Last profile update timestamp
Example Usage
Error Responses
object
Unauthorized - Invalid or missing JWT token
object
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