{
  "opencollection": "1.0.0",
  "info": {
    "name": "Webex Admin Address Book Call Monitoring API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Call Monitoring",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Monitoring Request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/monitor",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a successful monitoring request. It can be done either on an on-going or next successful inbound/outbound call. Requires scope 'cloud-contact-center:pod_conv' and 'cjp.supervisor'."
        },
        {
          "info": {
            "name": "BargeIn Request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/monitor/:taskId/bargeIn",
            "params": [
              {
                "name": "taskId",
                "value": "315fbb91-2288-427c-9588-ec764cd46ea4",
                "type": "path",
                "description": "The unique ID representing the task that needs to be barged by the supervisor."
              }
            ]
          },
          "docs": "Create a successful barge-in request for the supervisor to barge in the call that is being monitored already. Requires scope 'cloud-contact-center:pod_conv' and 'cjp.supervisor'."
        },
        {
          "info": {
            "name": "End Monitoring Request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/monitor/:taskId/end",
            "params": [
              {
                "name": "taskId",
                "value": "315fbb91-2288-427c-9588-ec764cd46ea4",
                "type": "path",
                "description": "The unique ID represents the task that needs to end."
              }
            ]
          },
          "docs": "Allows to successfully end the on-going monitoring request. Requires scope 'cloud-contact-center:pod_conv' and 'cjp.supervisor'."
        },
        {
          "info": {
            "name": "Hold Monitoring Request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/monitor/:taskId/hold",
            "params": [
              {
                "name": "taskId",
                "value": "315fbb91-2288-427c-9588-ec764cd46ea4",
                "type": "path",
                "description": "The unique ID representing the task that needs to be held."
              }
            ]
          },
          "docs": "Place the monitoring session on hold for a particular call. Requires scope 'cloud-contact-center:pod_conv' and 'cjp.supervisor'."
        },
        {
          "info": {
            "name": "Unhold Monitoring Request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/monitor/:taskId/unhold",
            "params": [
              {
                "name": "taskId",
                "value": "315fbb91-2288-427c-9588-ec764cd46ea4",
                "type": "path",
                "description": "The unique ID representing the task that needs to be resumed and was on hold already."
              }
            ]
          },
          "docs": "Resume a particular monitoring request that was on hold already. Requires scope 'cloud-contact-center:pod_conv' and 'cjp.supervisor'."
        },
        {
          "info": {
            "name": "Fetch Monitoring Sessions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/monitor/sessions"
          },
          "docs": "Fetches all active subscriptions for a given clientID."
        },
        {
          "info": {
            "name": "Delete Monitoring Request",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v1/monitor/:requestId",
            "params": [
              {
                "name": "requestId",
                "value": "315fbb91-2288-427c-9588-ec764cd46ea4",
                "type": "path",
                "description": "The id with which the monitoring request has been created."
              }
            ]
          },
          "docs": "Delete a particular monitoring request that was created. Requires scope 'cloud-contact-center:pod_conv' and 'cjp.supervisor'."
        }
      ]
    }
  ],
  "bundled": true
}