naftiko: 1.0.0-alpha2 info: label: Airtable API — Webhooks description: 'Airtable API — Webhooks. 5 operations. Lead operation: Airtable List Webhooks for a Base. Self-contained Naftiko capability covering one Airtable business surface.' tags: - Airtable - Webhooks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AIRTABLE_API_KEY: AIRTABLE_API_KEY capability: consumes: - type: http namespace: airtable-webhooks baseUri: https://api.airtable.com/v0 description: Airtable API — Webhooks business capability. Self-contained, no shared references. resources: - name: bases-baseId-webhooks path: /bases/{baseId}/webhooks operations: - name: listwebhooks method: GET description: Airtable List Webhooks for a Base outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createwebhook method: POST description: Airtable Create a Webhook for a Base outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: bases-baseId-webhooks-webhookId path: /bases/{baseId}/webhooks/{webhookId} operations: - name: deletewebhook method: DELETE description: Airtable Delete a Webhook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: webhookId in: path type: string description: The unique identifier of the webhook. required: true - name: bases-baseId-webhooks-webhookId-payloads path: /bases/{baseId}/webhooks/{webhookId}/payloads operations: - name: listwebhookpayloads method: GET description: Airtable List Webhook Payloads outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: webhookId in: path type: string description: The unique identifier of the webhook. required: true - name: cursor in: query type: string description: A cursor for pagination. Pass the cursor from the previous response to get the next page. - name: bases-baseId-webhooks-webhookId-refresh path: /bases/{baseId}/webhooks/{webhookId}/refresh operations: - name: refreshwebhook method: POST description: Airtable Refresh a Webhook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: webhookId in: path type: string description: The unique identifier of the webhook. required: true authentication: type: bearer token: '{{env.AIRTABLE_API_KEY}}' exposes: - type: rest namespace: airtable-webhooks-rest port: 8080 description: REST adapter for Airtable API — Webhooks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/bases/{baseid}/webhooks name: bases-baseid-webhooks description: REST surface for bases-baseId-webhooks. operations: - method: GET name: listwebhooks description: Airtable List Webhooks for a Base call: airtable-webhooks.listwebhooks outputParameters: - type: object mapping: $. - method: POST name: createwebhook description: Airtable Create a Webhook for a Base call: airtable-webhooks.createwebhook with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/bases/{baseid}/webhooks/{webhookid} name: bases-baseid-webhooks-webhookid description: REST surface for bases-baseId-webhooks-webhookId. operations: - method: DELETE name: deletewebhook description: Airtable Delete a Webhook call: airtable-webhooks.deletewebhook with: webhookId: rest.webhookId outputParameters: - type: object mapping: $. - path: /v1/bases/{baseid}/webhooks/{webhookid}/payloads name: bases-baseid-webhooks-webhookid-payloads description: REST surface for bases-baseId-webhooks-webhookId-payloads. operations: - method: GET name: listwebhookpayloads description: Airtable List Webhook Payloads call: airtable-webhooks.listwebhookpayloads with: webhookId: rest.webhookId cursor: rest.cursor outputParameters: - type: object mapping: $. - path: /v1/bases/{baseid}/webhooks/{webhookid}/refresh name: bases-baseid-webhooks-webhookid-refresh description: REST surface for bases-baseId-webhooks-webhookId-refresh. operations: - method: POST name: refreshwebhook description: Airtable Refresh a Webhook call: airtable-webhooks.refreshwebhook with: webhookId: rest.webhookId outputParameters: - type: object mapping: $. - type: mcp namespace: airtable-webhooks-mcp port: 9090 transport: http description: MCP adapter for Airtable API — Webhooks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: airtable-list-webhooks-base description: Airtable List Webhooks for a Base hints: readOnly: true destructive: false idempotent: true call: airtable-webhooks.listwebhooks outputParameters: - type: object mapping: $. - name: airtable-create-webhook-base description: Airtable Create a Webhook for a Base hints: readOnly: false destructive: false idempotent: false call: airtable-webhooks.createwebhook with: body: tools.body outputParameters: - type: object mapping: $. - name: airtable-delete-webhook description: Airtable Delete a Webhook hints: readOnly: false destructive: true idempotent: true call: airtable-webhooks.deletewebhook with: webhookId: tools.webhookId outputParameters: - type: object mapping: $. - name: airtable-list-webhook-payloads description: Airtable List Webhook Payloads hints: readOnly: true destructive: false idempotent: true call: airtable-webhooks.listwebhookpayloads with: webhookId: tools.webhookId cursor: tools.cursor outputParameters: - type: object mapping: $. - name: airtable-refresh-webhook description: Airtable Refresh a Webhook hints: readOnly: false destructive: false idempotent: false call: airtable-webhooks.refreshwebhook with: webhookId: tools.webhookId outputParameters: - type: object mapping: $.