1. me
SkillForge
  • SkillForge
  • Auth
    • Register
      POST
    • Login
      POST
  • me
    • Courses
      • Enroll course
      • Get course progress
    • Units
      • Start unit
      • Complete unit
    • Get me
      GET
    • Update me
      PATCH
    • Get xp
      GET
    • Get badges
      GET
    • Get recommendations
      GET
  • Onboarding Quiz
    • Get questions
      GET
    • Save answers
      POST
  • Courses
    • Get courses
      GET
    • Get enrolled courses
      GET
    • Get course
      GET
    • Get course units
      GET
  • Units
    • Get unit
      GET
  • Schemas
    • Schemas
      • Pet
      • ApiResponse
      • Category
      • Tag
      • Order
      • User
    • UserArray
      • UserArray
  1. me

Get xp

GET
/me/xp

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:6567/api/v1/me/xp' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "userId": "c31bd57f-17c0-407e-8dbe-136f92c4e1a9",
    "totalXp": 100,
    "byEventType": {
        "unit_completion": 100
    },
    "recentEvents": [
        {
            "eventType": "unit_completion",
            "points": 100,
            "sourceType": "unit",
            "sourceId": "11000000-0000-0000-0000-000000000001",
            "createdAt": "2026-04-06T16:37:35.767Z"
        }
    ]
}
Modified at 2026-04-06 16:52:42
Previous
Update me
Next
Get badges
Built with