Friend
Friend List
Get Friend List
GET
[endpoint]/v3/friend/list
online_only
will show friends that make API activity on last 30 seconds. Currently this feature is not reliable if no game send user's activity via REST API. This will have better reliability after development of WebSocket as we will ping-pong the user every 5 seconds.
Headers
Authorization*
String
Bearer token
X-Api-Key*
String
API Key
Request Body
favorite_only
Boolean
Only show favorite friends. Default false
online_only
Boolean
Only show online friends (read notes above). Default false
limit
Integer
Limit amount of data shows. Default no limit
offset
Integer
Start showing data from number of offset. Default no offset
Friend Request
Make a Friend Request
POST
[endpoint]/v3/friend/request
Headers
Authorization*
String
Bearer token
X-Api-Key*
String
API Key
Request Body
target_komo_username*
String
KOMO username to make friend request
Get Incoming Friend Request
GET
[endpoint]/v3/friend/request/incoming
Get Outgoing Friend Request
GET
[endpoint]/v3/friend/request/outgoing
Headers
Authorization*
String
Bearer token
X-Api-Key*
String
API Key
Accepting Friend Request
Accepting a Friend Request
POST
[endpoint]/v3/friend/request/accept
Headers
Authorization*
String
Bearer token
X-Api-Key*
String
API Key
Request Body
relation_id*
Integer
Relation ID
Accepting All Pending Friend Request
GET
[endpoint]/v3/friend/request/accept-all
Headers
Authorization*
String
Bearer token
X-Api-Key*
String
API Key
Favorite Friends
Adding Friend to Favorites
POST
[endpoint]/v3/friend/favorites/add
Headers
Authorization*
String
Bearer Token
X-Api-Key*
String
API Key
Request Body
target_komo_username*
String
KOMO username to add favorites
Removing Friend from Favorites
POST
[endpoint]/v3/friend/favorites/remove
Headers
Authorization*
String
Bearer token
X-Api-Key*
String
API Key
Request Body
target_komo_username*
String
KOMO username to remove favorites
Removing Friend
Removing a Friend from Friend List
POST
[endpoint]/v3/friend/remove
WARNING!!! This will remove friend relation from both friend list
Headers
Authorization*
String
Bearer token
X-Api-Key*
String
API Key
Request Body
target_komo_username*
String
KOMO username of friends to remove
Last updated