naftiko: 1.0.0-alpha2 info: label: Zesty Accounts API — Webhooks description: 'Zesty Accounts API — Webhooks. 2 operations. Lead operation: Zesty List all webhooks. Self-contained Naftiko capability covering one Zesty business surface.' tags: - Zesty - Webhooks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ZESTY_API_KEY: ZESTY_API_KEY capability: consumes: - type: http namespace: accounts-webhooks baseUri: https://accounts.api.zesty.io/v1 description: Zesty Accounts API — Webhooks business capability. Self-contained, no shared references. resources: - name: webhooks path: /webhooks operations: - name: getwebhooks method: GET description: Zesty List all webhooks outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createwebhook method: POST description: Zesty Create a webhook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Authorization value: '{{env.ZESTY_API_KEY}}' placement: header exposes: - type: rest namespace: accounts-webhooks-rest port: 8080 description: REST adapter for Zesty Accounts API — Webhooks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/webhooks name: webhooks description: REST surface for webhooks. operations: - method: GET name: getwebhooks description: Zesty List all webhooks call: accounts-webhooks.getwebhooks outputParameters: - type: object mapping: $. - method: POST name: createwebhook description: Zesty Create a webhook call: accounts-webhooks.createwebhook with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: accounts-webhooks-mcp port: 9090 transport: http description: MCP adapter for Zesty Accounts API — Webhooks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: zesty-list-all-webhooks description: Zesty List all webhooks hints: readOnly: true destructive: false idempotent: true call: accounts-webhooks.getwebhooks outputParameters: - type: object mapping: $. - name: zesty-create-webhook description: Zesty Create a webhook hints: readOnly: false destructive: false idempotent: false call: accounts-webhooks.createwebhook with: body: tools.body outputParameters: - type: object mapping: $.