{
  "opencollection": "1.0.0",
  "info": {
    "name": "SpotDraft V1 Contract APIs V2.1 Webhooks API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "V2.1 Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Setup Webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.eu.spotdraft.com/api/v2.1/public/webhooks/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "client-id",
              "value": "{{client-id}}",
              "placement": "header"
            }
          },
          "docs": "Creates a webhook subscription for the selected SpotDraft activity types.\n        See [Webhooks](/api/docs#description/webhooks) for delivery behavior, verification, and retry guidance."
        },
        {
          "info": {
            "name": "Get Webhook Secret",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.eu.spotdraft.com/api/v2.1/public/webhooks/hmac_key/",
            "auth": {
              "type": "apikey",
              "key": "client-id",
              "value": "{{client-id}}",
              "placement": "header"
            }
          },
          "docs": "Returns the Base64-encoded HMAC secret used to verify webhook payload signatures.\n         See [Webhooks](/api/docs#description/webhooks) for verification guidance."
        },
        {
          "info": {
            "name": "Remove Webhook",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.eu.spotdraft.com/api/v2.1/public/webhooks/:webhook_id",
            "params": [
              {
                "name": "webhook_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "client-id",
              "value": "{{client-id}}",
              "placement": "header"
            }
          },
          "docs": "Deletes an existing webhook subscription.\n         See [Webhooks](/api/docs#description/webhooks) for delivery behavior and operational guidance."
        }
      ]
    }
  ],
  "bundled": true
}