Skip to main content
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 via Authorization: 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
Ensure your JWT token is valid and has not expired. Expired tokens will result in a 401 Unauthorized response.

Use Cases

  • Retrieve current user information for profile display
  • Verify user authentication status
  • Fetch user preferences and settings
  • Validate user session on page load