JavaScript APIs

$zoho.salesiq.chat

.chat.mode()To set chat mode

Use this API if you need the chat to be initiated OnClick over the chat button. However it will work only if all required visitor informations are populated.

Read More >>>

.chat.department()To set departments

This API allows you to display only the required departments in the pre-chat form. All other configured departments will be hidden regardless of their status. However Web Embed department settings should be configured as "Allow user to select department".

Read More >>>

.chat.defaultdepartment()To set default department

This API allows you to set a default department in the pre-chat form and the visitors are allowed to select other department if needed. However Web Embed department settings should be configured as "Allow user to select department".

Read More >>>

.chat.agent()To set default agent

Use this API to route the chat to a specific agent for the first half of the waiting time. If not picked, the chat will be routed to other available agents. 

Read More >>>

.chat.forward() To disable chat forwarding

Use this API to disable chat forwarding to other agents. If the assigned agent could not pick the chat within the first half of the waiting time, these chats will not be forwarded to other agents and will be added under missed.

Read More >>>

.chat.title()To set title

This API allows you to set title for the chat. Disable the company logo in Web Embed settings to get the title displayed for Chat window, Float & Personalized Chat widget.

Read More >>>

.chat.logo()To set logo

This API allows you to set logo for the chat widget. Make sure to enable the company logo in the Web Embed settings.

.chat.start()To start chat

You can use this API to initiate a chat, it should be invoked only on a JavaScript OnClick. Supported for all the type of embed.

Read More >>>

.chat.complete()To End chat

You can use this API to end the chat; it should be invoked on the JavaScript OnClick.

Read More >>>

.chat.systemmessages()To set system messages

You can use this API to customize the system messages displayed in the chat widget.

Read More >>>

.salesiq.language()To set language for embed chat

This API allows you to set a language for the Chat Widget. Make sure you enter the code in the LANGUAGE CODE variable.

Read More >>>

.chat.theme()To Customize Chat Theme Color

This API allows you to customize your theme color.

Read More >>>

Top