Xentree Docs
My Xentree
My Xentree
  1. Profile & Analytics
  • Documentation
    • Introduction
    • Quickstart
    • Authentication
    • Conversations
    • Knowledge Base
    • Organizations
    • Profile & Analytics
    • Xentree English
    • Xentree Live
    • Errors and Limits
  • API Reference
    • Authentication
      • Register a new user
      • Log in and get an access token
      • Refresh an access token
      • Log out the current user
      • Get the current authenticated user
      • Update the current authenticated user
    • Conversations
      • List available AI providers
      • Generate an AI response
      • List conversations for the current user
      • Create a conversation
      • Get messages for a conversation
      • Search indexed user content
    • Knowledge Base
      • Search the knowledge base
    • Organizations
      • List organizations for the current user
      • Create an organization
      • Get organization details
      • Update organization details
      • Delete an organization
      • List organization members
      • Add a member to an organization
    • Profile & Analytics
      • Get my XP profile
        GET
      • Get a user's public profile
        GET
      • Get streak status
        GET
      • Get weekly XP activity
        GET
      • Get learning pulse (365-day heatmap)
        GET
      • Get daily quests
        GET
      • Get learning time analytics
        GET
    • Xentree English
      • List XEL modules with user progress
      • Get XEL module details
      • Submit a learning task response
      • Run AI evaluation for speaking or writing
      • Get the XEL dashboard overview
    • Xentree Live
      • Get remaining Xentree Live quota
      • Start a live session
      • Update an active live session heartbeat
      • End a live session
      • Update the user nickname used in Xentree Live
      • List live transcripts for the current user
      • Save live session transcripts
      • Get a single live transcript
    • Integrations
      • List active integrations for the current user
      • Start the Google Calendar OAuth flow
    • API Keys
      • List API keys
      • Create an API key
      • Delete an API key
  • Schemas
    • Error
    • TokenResponse
    • UserProfile
    • ChatRequest
    • ChatResponse
    • ConversationCreateRequest
    • ConversationResponse
    • KnowledgeSearchRequest
    • LiveStartSessionRequest
    • LiveSessionResponse
    • LiveQuotaResponse
    • TranscriptTurn
    • SaveLiveTranscriptsRequest
    • OrganizationCreateRequest
    • OrganizationResponse
    • MemberResponse
    • XELModuleSummary
    • XELTaskSubmissionRequest
    • APIKeyCreateRequest
    • XPProfileResponse
    • APIKeyResponse
    • PublicXPProfileResponse
    • StreakStatusResponse
    • WeeklyActivityResponse
    • LearningPulseDayEntry
    • LearningPulseResponse
    • QuestItem
    • QuestsResponse
    • LearningTimeAnalyticsResponse
  1. Profile & Analytics

Get a user's public profile

GET
/api/xp/public-profile/{username}
Returns a public, read-only view of any user's XP profile.
Does not require authentication. Exposes only safe public data
(no email, tokens, or internal IDs).

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
API Key
Add parameter in header
X-API-Key
Example:
X-API-Key: ********************
or
Path Params

Responses

🟢200
application/json
Public profile retrieved successfully.
Body

🟠404
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://my.xentree.com/api/xp/public-profile/' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "username": "string",
    "full_name": "string",
    "profile_picture_url": "string",
    "created_at": "2019-08-24T14:15:22.123Z",
    "profile": {
        "total_xp": 0,
        "level": 0,
        "current_level_xp": 0,
        "xp_needed_for_next_level": 0,
        "current_streak": 0,
        "longest_streak": 0,
        "day_only_streak": 0
    },
    "active_quests": [
        {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "title": "string",
            "description": "string",
            "category": "learning_time",
            "target_value": 0,
            "current_progress": 0,
            "progress_percentage": 0,
            "status": "active",
            "reward_multiplier": 0,
            "reward_duration": 0
        }
    ]
}
Modified at 2026-04-23 02:10:38
Previous
Get my XP profile
Next
Get streak status
Built with