Skip to main content

Process Group Join Request

Brief Description

  • Processes a group join request.

Request Method

  • post

Request URL

  • {API_ADDRESS}/group/group_application_response
Header NameExample ValueOptionalTypeDescription
operationID1646445464564RequiredstringUsed for global trace tracking. It is recommended to use a timestamp, unique for each request
tokeneyJhbxxxx3XsRequiredstringAdmin token

Request Parameters Example

{
"groupID": "xadxwr24",
"fromUserID": "2966378840",
"handledMsg": "",
"handleResult": 1
}
Field NameOptionalTypeDescription
groupIDRequiredstringGroup ID
fromUserIDRequiredstringID of the user requesting to join
handledMsgOptionalstringMessage regarding the handling of the request
handleResultRequiredintResult of processing; -1 to reject, 1 to accept

Success Response Example

{
"errCode": 0,
"errMsg": "",
"errDlt": ""
}

Success Response Parameters Description

Parameter NameTypeDescription
errCodeintError code, 0 indicates success
errMsgstringBrief error message, empty if none
errDlterrDltDetailed error information, empty if none
dataobjectGeneral data object, see structure below

Failure Response Example

{
"errCode": 1004,
"errMsg": "RecordNotFoundError",
"errDlt": ": [1004]RecordNotFoundError"
}

Failure Response Parameters Description

Parameter NameTypeDescription
errCodeintError code, refer to global error code documentation
errMsgstringBrief error message
errDlterrDltDetailed error information