Bitrix24 REST API


Create a social network group using the API method CSocNetGroup::CreateGroup() and specifying the current user as group owner.

Get all fields in parameters required for the CSocNetGroup::CreateGroup() method to work.

In the event that field SITE_ID is not specified, value corresponding to current website is used.

In the event that field SUBJECT_ID is not specified, value corresponding to workgroups with minimum sorting index for the specified (or current) website is used.

If create group is successful - return its ID, else - an error message.


// Create a visible and public social network group named 'Test sonet group' with the permission to invite new group members for all current group members

BX24.callMethod('sonet_group.create', {
 'NAME': 'Test sonet group',
 'VISIBLE': 'Y',
 'OPENED': 'N',




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