{
  "opencollection": "1.0.0",
  "info": {
    "name": "NocoDB Data Attachments Hooks API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "xc-token",
      "value": "{{xc-token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Hooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List webhooks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.nocodb.com/api/v1/meta/tables/:tableId/hooks",
            "params": [
              {
                "name": "tableId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the NocoDB table"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "xc-token",
              "value": "{{xc-token}}",
              "placement": "header"
            }
          },
          "docs": "List all webhooks (hooks) configured for a specific table."
        },
        {
          "info": {
            "name": "Create webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.nocodb.com/api/v1/meta/tables/:tableId/hooks",
            "params": [
              {
                "name": "tableId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the NocoDB table"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "xc-token",
              "value": "{{xc-token}}",
              "placement": "header"
            }
          },
          "docs": "Create a new webhook for a specific table."
        }
      ]
    }
  ],
  "bundled": true
}