{
  "opencollection": "1.0.0",
  "info": {
    "name": "Sitecore CDP REST Audit Events API",
    "version": "v2.1"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Events",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Track a behavioral event (GET)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-engage-eu.sitecorecloud.io/api/event/1",
            "params": [
              {
                "name": "customerKey",
                "value": "",
                "type": "query",
                "description": "The customer key identifying the Sitecore Discover account. Found in the Customer Engagement Console under Developer Resources > API Access."
              },
              {
                "name": "key",
                "value": "",
                "type": "query",
                "description": "URL-encoded JSON object containing event details"
              }
            ]
          },
          "docs": "Sends a behavioral event from a storefront visitor session to Sitecore Discover. Events are used to improve the relevance of search results and product recommendations. The key parameter contains a URL-encoded JSON object with the event details."
        },
        {
          "info": {
            "name": "Track a behavioral event (POST)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-engage-eu.sitecorecloud.io/api/event/1",
            "params": [
              {
                "name": "customerKey",
                "value": "",
                "type": "query",
                "description": "The customer key identifying the Sitecore Discover account. Found in the Customer Engagement Console under Developer Resources > API Access."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Sends one or more behavioral events from a storefront visitor session using a POST request body. Events are used to improve search and recommendation relevance over time."
        }
      ]
    }
  ],
  "bundled": true
}