Chatroom
This page outlines the API documentation for creating, managing, reassigning, and activating/deactivating chatrooms in Saleschat.pro.
When this option is set to true, then all the existing chatrooms for the lead will be deactivated and a new chatroom would be created.
falseIf set to true, the request will fail if a chatroom already exists on a different WABA phone.
trueSuccessfully created the chatroom
Bad request
Unauthorized - Authentication is required
User or Partner does not have access to this org
Waba does not exist / WabaPhone does not exist / User or group does not exist
Active chatroom already exists
Required fields are missing or invalid values are provided
Internal Exception
Successfully re-assigned the chatroom
Bad request
Unauthorized - Authentication is required
User or Partner does not have access to this org
Chatroom does not exist for this org / OrgId does not exist
Required fields are missing or invalid values are provided
Internal Exception
Successfully returning the chatroom
Unauthorized - Authentication is required
User or Partner does not have access to this org
OrgId, UserId, Contact or WABA does not exist
Active chatroom already exists with a different crmId
Required fields are missing or invalid values are provided
Internal Exception
Successfully reassigned the chatroom
Unauthorized - Authentication is required
User or Partner does not have access to this org
Chatroom does not exist for this org
Required fields are missing or invalid values are provided
Internal Exception
Successfully accepted request for deactivating contact chatroom
Bad request
Unauthorized - Authentication is required
Forbidden - You don't have permission to access this resource
Failed to deactivate chatroom due to some internal error
falseSuccessfully accepted request for re-activating contact chatroom
Bad request
Unauthorized - Authentication is required
Forbidden - You don't have permission to access this resource
Failed to activate chatroom due to some internal error
Successfully fetched chatroom by contact
Bad request
Unauthorized - Authentication is required
Forbidden - You don't have permission to access this resource
No contact waba mapping found
Required fields are missing or invalid values are provided
Failed to fetch chatroom due to some internal error
Last updated