---
title: Test article
slug: test-space-for-saml
createdAt: 2025-10-13T06:59:59.074Z
---

***

::::CodeDrawer{title="Register Event" isResponseExpanded="true" autoGeneratedAnchorSlug="register-event" legacyHash="ncdXxOU633Z9kFzvaWwfj"}
:::CodeblockTabsExamples
```javascript
ameyoOmniSDK.interaction
    .register("interactionInitiated", (data) => {
      console.log("Integration interactionInitiated event received", data);
    })
    .then(() => {
      console.log(
        "Integration Successfully registered interactionInitiated event"
      );
    })
    .catch((error) => {
      console.error(
        "Integration Error in registering interactionInitiated event",
        error
      );
    });
```
:::

:::CodeblockTabsResponses
```javascript
```
:::
::::

