Installs a new event handler.

The method can be called only by a user having administrative privileges.

Because the calls will be initiated from Bitrix servers, any URL should be accessible for external GET/POST requests.

This method uses the following interface: BX24.callBind.


Parameter Description
event Specifies the event name. This parameter is required.
handler Specifies the event handler. This parameter is required.
auth_type Specifies the ID of a user whose credentials will be used to install the handler. This parameter is optional. By default, the event handler will be authenticated as a user whose actions triggered the event.
event_type Values: online|offline. Default value is event_type=online and method operation does not change. When the value is event_type=offline, the method works with offline events.




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-2021, «Bitrix Inc.», 2021