Bitrix24 REST API

sonet_group.user.invite

Invite users to the social network group on behalf of the current user, in this case current user group access permissions are verified.

Function parameters

Parameter Description
GROUP_ID ID of the group to which users are invited.
USER_ID ID of the user (or array of user IDs) who is (are) invited to the group.
MESSAGE Invitation text.

Return array of user IDs successfully invited to the group.

Example

// Invite user ID=3 to social network group ID=15

BX24.callMethod('sonet_group.user.invite', {
 'GROUP_ID': 15,
 'USER_ID': 3,
 'MESSAGE': 'Invitation'
});

Request:

https://mydomain.bitrix24.com/rest/sonet_group.user.invite.json?auth=52423d4a5f19f5f964f9b4e96a925cfa&GROUP_ID=15&USER_ID=3&MESSAGE=Invitation

Response:

{"result":["3"]}


User comments

Comments by users are not official documentation. Responsibility for use of the comments are born by users themselves.

The user comments section is not intended as a request box or training area, but rather for specific usage examples. For more general inquiries, please refer to link.

Comments may be added only by registered users and appear after moderation.
© 2001-2017 Bitrix, Inc. Bitrix® is a registered trademark of Bitrix, Inc. Powered by Bitrix Site Manager