Widget API
Control the chat widget from your own JavaScript.
Open, close, and toggle the widget
Control the chat window from your own code with window.ReplyMaven.
Send a message programmatically
Trigger a chat message on behalf of the visitor from your own code.
Send page context to the AI
Give the AI live app context with setPageContext() so answers match what the visitor sees.
Request notification permission
Ask for browser notification permission earlier than the default handoff prompt.
Open the contact form
Open the widget's "Leave a message" form from your own buttons and links.
Complete API reference
Every method available on window.ReplyMaven.
Track widget events
Use window.ReplyMaven.track() to send greeting-card events to your analytics tool:
