naftiko: 1.0.0-alpha2 info: label: Knock API — Integrations description: 'Knock API — Integrations. 2 operations. Lead operation: Process a Census RPC request. Self-contained Naftiko capability covering one Knock business surface.' tags: - Knock - Integrations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KNOCK_API_KEY: KNOCK_API_KEY capability: consumes: - type: http namespace: knock-integrations baseUri: https://api.knock.app description: Knock API — Integrations business capability. Self-contained, no shared references. resources: - name: v1-integrations-census-custom-destination path: /v1/integrations/census/custom-destination operations: - name: processcensusrpcrequest method: POST description: Process a Census RPC request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-integrations-hightouch-embedded-destination path: /v1/integrations/hightouch/embedded-destination operations: - name: processhightouchrpcrequest method: POST description: Process a Hightouch RPC request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.KNOCK_API_KEY}}' exposes: - type: rest namespace: knock-integrations-rest port: 8080 description: REST adapter for Knock API — Integrations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/integrations/census/custom-destination name: v1-integrations-census-custom-destination description: REST surface for v1-integrations-census-custom-destination. operations: - method: POST name: processcensusrpcrequest description: Process a Census RPC request call: knock-integrations.processcensusrpcrequest with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/integrations/hightouch/embedded-destination name: v1-integrations-hightouch-embedded-destination description: REST surface for v1-integrations-hightouch-embedded-destination. operations: - method: POST name: processhightouchrpcrequest description: Process a Hightouch RPC request call: knock-integrations.processhightouchrpcrequest with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: knock-integrations-mcp port: 9090 transport: http description: MCP adapter for Knock API — Integrations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: process-census-rpc-request description: Process a Census RPC request hints: readOnly: false destructive: false idempotent: false call: knock-integrations.processcensusrpcrequest with: body: tools.body outputParameters: - type: object mapping: $. - name: process-hightouch-rpc-request description: Process a Hightouch RPC request hints: readOnly: false destructive: false idempotent: false call: knock-integrations.processhightouchrpcrequest with: body: tools.body outputParameters: - type: object mapping: $.