Introduction

Deprecated

The wix-chat-backend module is deprecated and has been replaced with the equivalent inbox SDK module.

Learn how to migrate to the Inbox SDK module.

The wix-chat-backend module contains functionality for working with the Wix Chat application from backend code.

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.

Note:

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:

Copy
Did this help?