We've listed the available Web SDK methods below. Each entry provides a short description of what the method does and links to a page that provides syntax documentation and code samples for the individual method.
Initializes the chat widget and renders the chat icon on your web page.
First, initialize chat fully
Kustomer Chat must finish initializing fully with
Kustomer.start()before you can execute any additional Web SDK methods.
Tip: Call other methods inside the callback of
Kustomer.start()to ensure Kustomer Chat always completes initialization before the code tries to run other methods.
To learn more, see Troubleshooting: Kustomer method calls won't execute.
Opens the chat widget.
Closes and minimizes the chat widget.
Authenticates a customer with a login and fetches their chat session data.
Authenticate customers with Kustomer.login() to require a login for your chat widget or to allow users to view previous conversations from across their devices. To learn more, see Authenticate chat.
Logs a customer out and clears their session data.
Updates information about a Customer object in Kustomer.
Updates information about a Conversation object in Kustomer.
Adds a callback function to execute after a specific event.
Removes a callback function added with Kustomer.addListener().
Returns the current chat availability for an organization.
Starts a new conversation for a customer.
Opens the conversation with the conversation id.
Returns a list of open conversations.
Opens a Knowledge Base article based on the article id.
Opens a Knowledge Base category based on the category id.
Updated 3 months ago