Documentation

user.add

Invites a user. Available only for users with invitation permissions. If successful, the user will be sent a standard invitation to the portal.

Parameters

If it is required to add an extranet user, then the following shall be passed in the fields: EXTRANET: Y and SONET_GROUP_ID: [...]. If it is required to add an intranet user, then the following shall be passed: UF_DEPARTMENT: [...].

Call

BX24.callMethod('user.add', {"EMAIL": "newuser@example.com"});

Request

https://my.bitrix24.com/rest/user.add.json?EMAIL=newuser@example.com&auth=1b2234a7412080205f4318e42c7298dc

Response

{"result":222}


© «Bitrix Inc.», 2001-2018, «Bitrix Inc.», 2018