{
  "opencollection": "1.0.0",
  "info": {
    "name": "CloudTalk Agents Groups API",
    "version": "1.7"
  },
  "items": [
    {
      "info": {
        "name": "Groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://my.cloudtalk.io/api/groups/index.json",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Max. number of items in response data."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Number of page to return."
              }
            ]
          },
          "docs": "List groups"
        },
        {
          "info": {
            "name": "Add an agent to a group",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://my.cloudtalk.io/api/groups/add.json",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add an agent to a group"
        },
        {
          "info": {
            "name": "Delete an agent",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://my.cloudtalk.io/api/groups/delete/:agent_id.json",
            "params": [
              {
                "name": "agent_id",
                "value": "",
                "type": "path",
                "description": "Agent ID to delete"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Delete an agent"
        }
      ]
    }
  ],
  "bundled": true
}