About This Guide
Prerequisites
API Versions
Create Deployments
setChatWindowHeight
setChatWindowWidth
Deployment API Code Sample
Customize the dimensions of your customer-facing chat windows. This doesn’t apply for mobile-based browsers.
The legacy chat product is scheduled for retirement on February 14, 2026, and is in maintenance mode until then. During this phase, you can continue to use chat, but we no longer recommend that you implement new chat channels. To avoid service interruptions to your customers, migrate to Messaging for In-App and Web before that date. Messaging offers many of the chat features that you love plus asynchronous conversations that can be picked back up at any time. Learn about chat retirement in Help.
Important
Use the following deployment methods to customize the height and width of the chat window. You can add either of these methods as additional scripts within the code that’s automatically generated when you create a deployment.
This isn’t applicable for mobile browsers, where chats open to the full page.
Note
Use the setChatWindowHeight method to customize the height of your chat window.
Use the setChatWindowWidth method to customize the width of your chat window.