Friends
Accept
Accept an incoming friend request. Use the sender's userkey from the friend_pending endpoint.
POST
/api/vaneltonid/friend_accept.php
Requires
Authorization: AppID:AppKey + user tokenRequest body
| Field | Type | Required | Description |
|---|---|---|---|
| token | string | required | Acceptor's session token |
| sender_userkey | string | required | userkey of the user who sent the request |
Test this endpoint
Headers
Body
Success response 200
{ "success": true, "message": "Friend request accepted." }