{
  "opencollection": "1.0.0",
  "info": {
    "name": "CometChat REST Management Auth Tokens Groups API",
    "version": "3.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "apikey",
      "value": "{{apikey}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{appId}.api-{region}.cometchat.io/v3/groups",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "perPage",
                "value": "",
                "type": "query"
              },
              {
                "name": "searchKey",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List groups"
        },
        {
          "info": {
            "name": "Create a group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{appId}.api-{region}.cometchat.io/v3/groups",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a group"
        },
        {
          "info": {
            "name": "Get a group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{appId}.api-{region}.cometchat.io/v3/groups/:guid",
            "params": [
              {
                "name": "guid",
                "value": "",
                "type": "path",
                "description": "Unique group identifier (lowercased automatically)."
              }
            ]
          },
          "docs": "Get a group"
        },
        {
          "info": {
            "name": "Update a group",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{appId}.api-{region}.cometchat.io/v3/groups/:guid",
            "params": [
              {
                "name": "guid",
                "value": "",
                "type": "path",
                "description": "Unique group identifier (lowercased automatically)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a group"
        },
        {
          "info": {
            "name": "Delete a group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{appId}.api-{region}.cometchat.io/v3/groups/:guid",
            "params": [
              {
                "name": "guid",
                "value": "",
                "type": "path",
                "description": "Unique group identifier (lowercased automatically)."
              }
            ]
          },
          "docs": "Delete a group"
        }
      ]
    }
  ],
  "bundled": true
}