AWorld Lab
About
API Reference
API Reference
  • App API
  • Dashboard API
  • Overview
API Download
API Download
  • App API
  • Dashboard API
AWorld.orgAWorld Trust
About
API Reference
API Reference
  • App API
  • Dashboard API
  • Overview
API Download
API Download
  • App API
  • Dashboard API
AWorld.orgAWorld Trust
AWorld.org
  1. Users
  • ActivityLogs
    • Create activity log
  • Analytics
    • Get community metrics
  • Learning Paths
    • Items
      • List learning path items
    • List learning paths
    • Get learning path by ID
  • Learning Groups
    • Tags
      • List learning group tag assignments
      • Get learning group tag assignment
    • Translation
      • Get learning group translation
    • List learning groups
    • Get learning group by ID
  • Learning Path Assignments
    • Items
      • List learning path assignment items
    • Tags
      • List learning path assignment tags
      • Get learning path assignment tag by ID
    • Translation
      • Get learning path assignment translation
    • List learning path assignments
    • Get learning path assignment by ID
  • Missions
    • List missions
    • Get mission
  • Quizzes
    • Tags
      • List quiz tags
      • Get quiz tag by ID
    • Translation
      • Get quiz translation
    • List quizzes
    • Get quiz by ID
    • Submit quiz answers
  • Runtime Leaderboards
    • List runtime leaderboards
    • Get a runtime leaderboard by ID
    • Get leaderboard rankings
    • Get current user's ranking
  • Slides
    • TagAssignments
      • List slide tags
      • Get slide tag by ID
    • Translation
      • Get slide translation
    • List slides
    • Get slide by ID
    • Submit slide completion
  • Stories
    • TagAssignments
      • List story tags
      • Get story tag by ID
    • Translation
      • Get story translation
    • List stories
    • Get story by ID
    • Submit story completion
  • Streaks
    • List streaks
  • Users
    • Tags
      • List current user tags
      • Get current user tag by ID
    • Get current user
      GET
    • Get current user principal
      GET
    • Update current user
      PATCH
    • Get current user learning stats
      GET
  • VirtualBalances
    • List virtual balances
    • Get virtual balance by currency ID
  • VirtualTransactions
    • List virtual transactions
    • Create virtual transaction
    • Get virtual transaction by ID
    • Redeem virtual transaction
  • WorkspaceConfiguration
    • Get workspace configuration
About
API Reference
API Reference
  • App API
  • Dashboard API
  • Overview
API Download
API Download
  • App API
  • Dashboard API
AWorld.orgAWorld Trust
About
API Reference
API Reference
  • App API
  • Dashboard API
  • Overview
API Download
API Download
  • App API
  • Dashboard API
AWorld.orgAWorld Trust
AWorld.org
  1. Users

Get current user principal

GET
https://api.eu-west-1.aworld.cloud/app/v1/users/me/principal
Retrieves the principal information for the currently authenticated user.
Principal contains the user's identity details.

Request

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

Responses

🟢200OK
application/json
User principal retrieved successfully
Body

🟠401Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.eu-west-1.aworld.cloud/app/v1/users/me/principal' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "principalId": "string",
    "sub": "string",
    "email": "user@example.com",
    "firstName": "string",
    "lastName": "string"
}
Modified at 2026-02-10 10:37:54
Previous
Get current user
Next
Update current user
Built with