Console
Friends

User Profile

Returns the public profile of a user by their userKey, including presence status and friendship status with the authenticated user.

POST /api/vaneltonid/user_profile.php
Requires Authorization: AppID:AppKey + user token

Request body

FieldTypeRequiredDescription
tokenstringrequiredAuthenticated user's session token
userkeystringrequiredValue of the userKey field returned by friend_list, friend_search, or presence_heartbeat. Note: input field is lowercase (userkey); response fields use camelCase.

Success response 200

{
  "success": true,
  "profile": {
    "id": 42,
    "userKey": "abc123...",
    "username": "vanelton",
    "name": "Vanelton",
    "profileimg": "https://...",
    "idverify": 1,
    "presence_status": "in-game",
    "current_app": "com.vaneltongd.fzsoccer",
    "friendship_status": "friend",
    "is_blocked": false
  }
}

presence_status values

ValueDescription
onlineActive in the launcher
in-gameCurrently playing — current_app contains the app ID
offlineNo heartbeat for more than 3 minutes