You can configure different notification objects, i.e., alarm center (which can be configured), Hik-Connect, phone, and email, for events or alarms, and you can also receive the events or alarm in arming via the platform or system., and the received types of events or alarms can be subscribed.
For configuring different notification objects, refer to Alarm/Event Notification.
For receiving and subscribing events or alarms of security control panel,
You can set the command (lCommand) in the alarm callback function to "COMM_ISAPI_ALARM" (command No: 0x6009). And the alarm/event details are returned in the message JSON_EventNotificationAlert_SecurityCPAlarmEventMsg by the structure NET_DVR_ALARM_ISAPI_INFO.
You can set the command (lCommand) in the alarm callback function to "COMM_ALARMHOST_CID_ALARM" (command No: 0x1127). And the alarm/event details are returned in the structure NET_DVR_CID_ALARM.
For detailed API calling flow of receiving and subscribing events or alarms, refer to chapters Receive Alarm/Event in Arming Mode and Subscribe Alarm/Event in Arming Mode in User Manual of Device Network SDK (General).