{
  "opencollection": "1.0.0",
  "info": {
    "name": "CleverTap REST Campaigns Events API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-CleverTap-Account-Id",
      "value": "{{X-CleverTap-Account-Id}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Events",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Upload user profiles or events",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{region}.api.clevertap.com/1/upload",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Upload an array of records, each typed as \"profile\" or \"event\".\nMaximum 1000 records per call.\n"
        },
        {
          "info": {
            "name": "Query events",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{region}.api.clevertap.com/1/events.json",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Query events"
        }
      ]
    }
  ],
  "bundled": true
}