{
  "opencollection": "1.0.0",
  "info": {
    "name": "ALTR DAM Alerting Unsubscribe API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Unsubscribe",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Unsubscribe from DAM alert emails (human click).",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{orgID}.dam-alerting.live.altr.com/v1/dam-alerting/unsubscribe",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "query",
                "description": "HMAC-signed unsubscribe token from the email footer link"
              }
            ]
          },
          "docs": "Validates the HMAC token embedded in a DAM alert email's unsubscribe link, removes the recipient from each referenced rule's email_recipients, and returns an HTML confirmation page. Unauthenticated — authorized solely by the signed token."
        },
        {
          "info": {
            "name": "Unsubscribe from DAM alert emails (RFC 8058 one-click).",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{orgID}.dam-alerting.live.altr.com/v1/dam-alerting/unsubscribe",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "query",
                "description": "HMAC-signed unsubscribe token"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "One-click unsubscribe for Gmail/Yahoo. The token is supplied in the query string (the List-Unsubscribe URL already carries it); the `List-Unsubscribe=One-Click` request body is ignored. Unauthenticated — authorized solely by the signed token. Returns 200 with an empty body."
        }
      ]
    }
  ],
  "bundled": true
}