Using the backend Chat API, site owners and contributors (referred to as the site's "business") can exchange chat messages with site members, contacts, and visitors (referred to as "visitors").

The backend Chat API is not applicable to social chat. For social chat between site members, use the client-side Chat API.


You cannot use a channel programmatically until it is created. A channel is created the first time the business or a visitor sends a message via the chatbox widget to a specific recipient.

To use the Chat API, import wixChat from the wix-chat-backend module:

import wixChatBackend from 'wix-chat-backend';
javascript | Copy Code

Was this helpful?