{
  "opencollection": "1.0.0",
  "info": {
    "name": "Partnerize Brands Attribution Platform Communications API",
    "version": "1.4.99"
  },
  "items": [
    {
      "info": {
        "name": "Platform Communications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get platform events list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.partnerize.com/v2/platform-communications/events"
          },
          "docs": "Returns the available events for triggering platform communications"
        },
        {
          "info": {
            "name": "Get platform communications list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.partnerize.com/v2/platform-communications"
          },
          "docs": "Returns all existing platform communications"
        },
        {
          "info": {
            "name": "Create platform communication",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.partnerize.com/v2/platform-communications",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a platform communication that can be triggered automatically when a given event occurs"
        },
        {
          "info": {
            "name": "Update an existing platform communication content",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.partnerize.com/v2/platform-communications/:id",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing platform communication content"
        },
        {
          "info": {
            "name": "Deletes an existing platform communication",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.partnerize.com/v2/platform-communications/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the platform communication to be deleted"
              }
            ]
          },
          "docs": "Deletes an existing platform communication"
        },
        {
          "info": {
            "name": "Returns the content of a platform communication",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.partnerize.com/v2/platform-communications/:id/content",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the platform communication"
              }
            ]
          },
          "docs": "Returns the HTML content of an existing platform communication."
        },
        {
          "info": {
            "name": "Validate content",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.partnerize.com/v2/platform-communications/validate-content",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "A helper endpoint which can be used to validate the html for a platform communication"
        }
      ]
    }
  ],
  "bundled": true
}