Friendship
Web API References for Friendship Service
Explore the list of Web APIs functions available for friendship service, including detailed descriptions and usage examples.
To use service functions, first ensure that the service is activated before. You can see services by opening "Service Hub" From the game's dashboard header.
Retrieves a list of friendship requests received by the current user based on the provided parameters.
get
Query parameters
skipinteger · int32Optional
limitinteger · int32Optional
Responses
200
OK
get
/api/table/services/friendship/requestGET /api/table/services/friendship/request HTTP/1.1
Host:
Accept: */*
200
OK
{
"list": [
{
"id": 1,
"name": "text",
"image": "text",
"username": "text",
"label": "text",
"tags": "text",
"is_ban": true,
"is_tester": true,
"is_guest": true,
"first_login": "2025-10-29T00:32:12.605Z",
"last_login": "2025-10-29T00:32:12.605Z",
"status": 1,
"accepted_at": "2025-10-29T00:32:12.605Z"
}
],
"totalCount": 1
}Retrieves a list of friendship requests sent by the current user based on the provided parameters.
get
Query parameters
skipinteger · int32Optional
limitinteger · int32Optional
Responses
200
OK
get
/api/table/services/friendship/requestingGET /api/table/services/friendship/requesting HTTP/1.1
Host:
Accept: */*
200
OK
{
"list": [
{
"id": 1,
"name": "text",
"image": "text",
"username": "text",
"label": "text",
"tags": "text",
"is_ban": true,
"is_tester": true,
"is_guest": true,
"first_login": "2025-10-29T00:32:12.605Z",
"last_login": "2025-10-29T00:32:12.605Z",
"status": 1,
"accepted_at": "2025-10-29T00:32:12.605Z"
}
],
"totalCount": 1
}Path parameters
requestIdinteger · int32Required
Responses
200
OK
post
/api/table/services/friendship/request/{requestId}POST /api/table/services/friendship/request/{requestId} HTTP/1.1
Host:
Accept: */*
200
OK
{
"list": [
{
"id": 1,
"name": "text",
"image": "text",
"username": "text",
"label": "text",
"tags": "text",
"is_ban": true,
"is_tester": true,
"is_guest": true,
"first_login": "2025-10-29T00:32:12.605Z",
"last_login": "2025-10-29T00:32:12.605Z",
"status": 1,
"accepted_at": "2025-10-29T00:32:12.605Z"
}
],
"totalCount": 1
}Path parameters
requestIdinteger · int32Required
Responses
200
OK
delete
/api/table/services/friendship/request/{requestId}DELETE /api/table/services/friendship/request/{requestId} HTTP/1.1
Host:
Accept: */*
200
OK
{
"list": [
{
"id": 1,
"name": "text",
"image": "text",
"username": "text",
"label": "text",
"tags": "text",
"is_ban": true,
"is_tester": true,
"is_guest": true,
"first_login": "2025-10-29T00:32:12.605Z",
"last_login": "2025-10-29T00:32:12.605Z",
"status": 1,
"accepted_at": "2025-10-29T00:32:12.605Z"
}
],
"totalCount": 1
}Path parameters
targetUserIdinteger · int32Required
Responses
200
OK
Responseboolean
delete
/api/table/services/friendship/{targetUserId}DELETE /api/table/services/friendship/{targetUserId} HTTP/1.1
Host:
Accept: */*
200
OK
trueBody
target_user_idinteger · int32Required
Responses
200
OK
post
/api/table/services/friendship/requestPOST /api/table/services/friendship/request HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"target_user_id": 1
}200
OK
{
"list": [
{
"id": 1,
"name": "text",
"image": "text",
"username": "text",
"label": "text",
"tags": "text",
"is_ban": true,
"is_tester": true,
"is_guest": true,
"first_login": "2025-10-29T00:32:12.605Z",
"last_login": "2025-10-29T00:32:12.605Z",
"status": 1,
"accepted_at": "2025-10-29T00:32:12.605Z"
}
],
"totalCount": 1
}Query parameters
skipinteger · int32Optional
limitinteger · int32Optional
Responses
200
OK
get
/api/table/services/friendshipGET /api/table/services/friendship HTTP/1.1
Host:
Accept: */*
200
OK
{
"list": [
{
"id": 1,
"name": "text",
"image": "text",
"username": "text",
"label": "text",
"tags": "text",
"is_ban": true,
"is_tester": true,
"is_guest": true,
"first_login": "2025-10-29T00:32:12.605Z",
"last_login": "2025-10-29T00:32:12.605Z",
"status": 1,
"accepted_at": "2025-10-29T00:32:12.605Z"
}
],
"totalCount": 1
}Last updated