Documentation

sonet_group.user.request

Send a current user request to join a social network group, in this case current user group access permissions are verified. If the group is public, the user becomes its member instantly.

Function parameters

Parameter Description
GROUP_ID ID of the group to which the request is sent.
MESSAGE Request text.

If request is successful - return true, else - an error message.

Example

// Send request to join group ID=15

BX24.callMethod('sonet_group.user.request', {
 'GROUP_ID': 17,
 'MESSAGE': 'Request'
});

Request:

https://mydomain.bitrix24.com/rest/sonet_group.user.request.json?auth=52423d4a5f19f5f964f9b4e96a925cfa&GROUP_ID=17&MESSAGE=Request

Response:

{"result":true}


User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2017, «Bitrix Inc.», 2017