Skip to main content

Overview

My friend request list.

Request

Authentication: Add authentication headers to the request. See Authentication

Method: GET

Rate limit: 100 requests/second

Endpoint: https://API domain/jim/friends/applications

Content-Type: application/json

Request parameters

ParameterData typeRequiredDescription
startintNoStart timestamp for retrieving the list. For descending order, defaults to the current time; for ascending order, defaults to 0.
countintNoItems per page. Default: 20. Maximum: 50.
orderintNoRetrieval order: 0 for descending; 1 for ascending. Default: 0.

Request example

GET /jim/friends/applications?start=1734407505753&count=50 HTTP/1.1
appkey: appkey
Authorization: xxxxxxxxxxxxxxxxxx
Content-Type: application/json

Response example

{
"code":0,
"msg":"sucess",
"data":{
"items":[
{
"target_user":{ //information about the user who submitted the request
"user_id":"userid1",
"nickname":"user1",
"avatar":"https://file.juggle.im/abcdfafsdaf.png"
},
"is_sponsor":true, //whether this user submitted the request
"status":1, // 0: pending; 1: accepted; 2: rejected; 3: expired
"apply_time":1734407505000 //request submission time
}
]
}
}