Skip to main content

Overview​

Process Friend Request

Request​

Authentication: Add authentication headers to the request. See Authentication

Method: POST

Rate limit: 100 requests/second

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

Content-Type: application/json

Request parameters​

ParameterData typeRequiredDescription
sponsor_idstringYesApplicant user ID.
is_agreeboolYesWhether to approve: false to reject; true to approve.

Request example​

POST /jim/friends/confirm HTTP/1.1
appkey: appkey
Authorization: xxxxxxxxxxxxxxxxxx
Content-Type: application/json

{
"sponsor_id":"userid1",
"is_agree":true
}

Response example​

{
"code":0,
"msg":"sucess"
}

Response codes​

Response codesDescription
17103Friend request expired