--- title: "Configure InApp messages" slug: "webview-configure-inapp-messages" description: "Enable, disable, or programmatically close In-App messages in the WebView SDK using three simple async methods." updated: 2026-02-11T11:18:42Z published: 2026-02-11T11:18:42Z canonical: "academy.insiderone.com/webview-configure-inapp-messages" --- > ## Documentation Index > Fetch the complete documentation index at: https://academy.insiderone.com/llms.txt > Use this file to discover all available pages before exploring further. # Configure InApp messages ## Enable InApp messages This method allows you to turn on displaying InApp messages. By default, InApp messages are always displayed unless disabled manually. **Method signature** ```typescript enableInAppMessages() : Promise ``` **Method example** ```typescript await window.insider.enableInAppMessages(); ``` ## Disable InApp messages This method allows you to turn off displaying InApp messages. **Method signature** ```typescript disableInAppMessages() : Promise ``` **Method example** ```typescript await window.insider.disableInAppMessages(); ``` ## Remove InApps This method allows you to close the InApp message window currently displayed on screen. **Method signature** ```typescript removeInapp() : Promise ``` **Method example** ```typescript await window.insider.removeInapp(); ```