{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tower Accounts Webhooks API",
    "version": "v0.11.16"
  },
  "items": [
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List webhooks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tower.dev/v1/webhooks",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number to fetch."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "The number of records to fetch on each page."
              }
            ]
          },
          "docs": "List webhooks"
        },
        {
          "info": {
            "name": "Create webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tower.dev/v1/webhooks",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create webhook"
        },
        {
          "info": {
            "name": "Describe webhook",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tower.dev/v1/webhooks/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the webhook."
              }
            ]
          },
          "docs": "Describe webhook"
        },
        {
          "info": {
            "name": "Update webhook",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.tower.dev/v1/webhooks/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the webhook."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates webhook. Note: it is not possible to update the URL. To do so, you should delete and recreate the webhook instead."
        },
        {
          "info": {
            "name": "Delete webhook",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.tower.dev/v1/webhooks/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the webhook."
              }
            ]
          },
          "docs": "Delete webhook"
        },
        {
          "info": {
            "name": "Check webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tower.dev/v1/webhooks/:name/test",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the webhook."
              }
            ]
          },
          "docs": "Check webhook"
        }
      ]
    }
  ],
  "bundled": true
}