Enable/Disable a Chat Monitor

Description

You can use this API to enable or disable a chat monitor.

Requested Payload:

  • status (Mandatory) - The enable/disable status of the chat monitor.

OAuth Scope:

SalesIQ.chatmonitors.UPDATE

URL:

Copiedhttps://{[zohosalesiq_server_uri](https://www.zoho.com/salesiq/help/developer-section/rest-api-v2.html)}/api/v2/{screenname}/chatmonitors/{id}

Example

Copiedhttps://salesiq.zoho.com/api/v2/zylker/chatmonitors/8000000006005

Payload

Copied{
 "enabled": true
}

Sample Response:

Copied{
  "url": "/api/v2/zylker/chatmonitors/8000000006005",
  "object": "chatmonitors",
  "data": {
    "id": "8000000006005",
     "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": "0987650"
    }
  }
}