GET
/
api
/
user
/
profile
Get full user profile
curl --request GET \
  --url http://localhost:4000/api/user/profile \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "user": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "email": "jsmith@example.com",
      "dynamicUserId": "<string>",
      "handle": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "lastLoginAt": "2023-11-07T05:31:56Z",
      "status": "active",
      "tier": "bronze"
    },
    "waitlist": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "position": 123,
      "referralCode": "<string>",
      "referredBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "joinedAt": "2023-11-07T05:31:56Z",
      "hasAccess": true
    },
    "ganntium": {
      "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "balance": 123,
      "totalEarned": 123,
      "lastUpdated": "2023-11-07T05:31:56Z"
    },
    "achievements": [
      {
        "id": "<string>",
        "name": "<string>",
        "unlockedAt": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Dynamic authentication JWT token

Response

200 - application/json

User profile

The response is of type object.