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 tokenRequest body
| Field | Type | Required | Description |
|---|---|---|---|
| token | string | required | Authenticated user's session token |
| userkey | string | required | Value of the userKey field returned by friend_list, friend_search, or presence_heartbeat. Note: input field is lowercase (userkey); response fields use camelCase. |
Test this endpoint
Headers
Body
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
| Value | Description |
|---|---|
online | Active in the launcher |
in-game | Currently playing — current_app contains the app ID |
offline | No heartbeat for more than 3 minutes |