Console
Friends

Pending

Returns all incoming friend requests that haven't been accepted yet.

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

Request body

FieldTypeRequiredDescription
tokenstringrequiredUser's session token

Success response 200

{
  "success": true,
  "data": {
    "pending_requests": [
      {
        "id": 5,
        "userKey": "abc...",
        "username": "sender123",
        "name": "Sender Name",
        "profileimg": "https://..."
      }
    ],
    "count": 1
  }
}
For real-time incoming requests, use Poll Notifications. This endpoint is intended for loading the initial state on app startup.