We use cookies to enhance your experience

We use essential cookies for site functionality and optional cookies like Google Analytics to understand how you use our site. You can customize your preferences at any time. Learn more

Widget API

Control your widget programmatically using the JavaScript API for advanced integrations.

Basic Methods

Open Widget

Close Widget

Toggle Widget

Send Messages

Send Message Programmatically

Event Listeners

Listen to Events

User Data

Set User Information

Advanced Methods

Clear Chat History

Get Chat State

Next: Event Callbacks

Learn how to handle widget events in your application.

Event Callbacks →
Hi and welcome! How can ChatWidgetPro help you ?