{
  "opencollection": "1.0.0",
  "info": {
    "name": "Dev.to Forem Articles Webhooks API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "api-key",
      "value": "{{api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Webhooks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dev.to/api/webhooks"
          },
          "docs": "Retrieves a list of webhook subscriptions for the authenticated user."
        },
        {
          "info": {
            "name": "Create a webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://dev.to/api/webhooks",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new webhook subscription. The webhook will receive HTTP POST callbacks at the specified target URL when subscribed events occur."
        },
        {
          "info": {
            "name": "A webhook endpoint",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dev.to/api/webhooks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the webhook."
              }
            ]
          },
          "docs": "Retrieves a single webhook subscription by ID."
        },
        {
          "info": {
            "name": "Delete a webhook endpoint",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://dev.to/api/webhooks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the webhook."
              }
            ]
          },
          "docs": "Deletes a webhook subscription by ID."
        }
      ]
    }
  ],
  "bundled": true
}