Amplify JS API Documentation
    Preparing search index...
    • Parameters

      Returns void

    • Initialize and set up in-app messaging category. This API needs to be called to enable other InAppMessaging APIs.

      Returns void

      AWS will end support for Amazon Pinpoint on October 30, 2026.

      Make sure to call this early in your app at the root entry point after configuring Amplify. Initialization runs once per session; subsequent calls are no-ops, so a context passed on a later call will not replace the one captured at first initialization.

      Amplify.configure(config);
      initializeInAppMessaging();