- Installation
- Push Notification
- Customization
- Rest API
- API Reference
- Launcher Button Customization
- Zoho SalesIQ
- Launcher
- Conversation
- Chat
- start()
- startWithTrigger()
- setWaitingTime()
- get()
- setTitle()
- setLanguage()
- setDepartment()
- setOperatorEmail()
- setVisibility()
- showOperatorImageInLauncher()
- setVisibility(MbedableComponent)
- showOfflineMessage()
- getList()
- open()
- endSession()
- fetchAttenderImage()
- setListener()
- getDepartments()
- showFeedbackAfterSkip()
- hideQueueTime()
- show()
- Chat Actions
- Calls
- Logger
- Visitor
- Visitor Tracking
- Notification
- Conversation
- Knowledge Base
- FAQ
- SDK 2.x, 3.x
- SDK 1.x
- Download Sample App
- Release Notes
- Additional Features
Chat.endChat()
This API can be used to end a support chat that is currently in an open state. The chatID of the chat which is to be closed must be passed as a function parameter.
The chatID for a chat can be obtained from other APIs, including the ZohoSalesIQ.Chat.getList() API.
Parameters:
Name | Description |
chatID | Unique ID of the chat |
Syntax:
CopiedZohoSalesIQ.Chat.endChat(chatID);
Example:
CopiedZohoSalesIQ.Chat.endChat("1001");
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.