Create a Chat Monitor
Description
You can use this API to create a chat monitor.
Requested Payload:
- type (Mandatory) - The type you choose to monitor the chat between the operator, ip address or the visitors email address.
- operator - Based on the name of the operator.
- visitor_ip - Based on visitor's IP address.
- visitor_email - Based on the visitor's email address.
OAuth Scope:
SalesIQ.chatmonitors.CREATE
URL:
Copiedhttps://{zohosalesiq_server_uri}/api/v2/{screenname}/chatmonitors
Example
Copiedhttps://salesiq.zoho.com/api/v2/zylker/chatmonitors
Payload
Copied{
"type":"operator",
"operator":"8000000002007"
}
Sample Response
Copied{
"url": "/api/v2/newn/chatmonitors/8000000017009",
"object": "chatmonitors",
"data": {
"id": "8000000017009",
"enabled": true,
"monitoring": {
"type": "operator",
"operator_email": "patricia@zylker.com",
"operator_id": "8000000002007",
"operator_name": "Patricia"
},
"stats": {
"chats_joined": "200",
"chats_monitored": "150",
"last_monitored_time": "209876"
}
}
}