naftiko: 1.0.0-alpha2 info: label: Persona API — Webhooks description: 'Persona API — Webhooks. 2 operations. Lead operation: List all Webhooks. Self-contained Naftiko capability covering one Persona business surface.' tags: - Persona - Webhooks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PERSONA_API_KEY: PERSONA_API_KEY capability: consumes: - type: http namespace: persona-webhooks baseUri: https://withpersona.com/api/v1 description: Persona API — Webhooks business capability. Self-contained, no shared references. resources: - name: webhooks path: /webhooks operations: - name: listwebhooks method: GET description: List all Webhooks outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createwebhook method: POST description: Create a Webhook outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.PERSONA_API_KEY}}' exposes: - type: rest namespace: persona-webhooks-rest port: 8080 description: REST adapter for Persona 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: listwebhooks description: List all Webhooks call: persona-webhooks.listwebhooks outputParameters: - type: object mapping: $. - method: POST name: createwebhook description: Create a Webhook call: persona-webhooks.createwebhook outputParameters: - type: object mapping: $. - type: mcp namespace: persona-webhooks-mcp port: 9090 transport: http description: MCP adapter for Persona API — Webhooks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-webhooks description: List all Webhooks hints: readOnly: true destructive: false idempotent: true call: persona-webhooks.listwebhooks outputParameters: - type: object mapping: $. - name: create-webhook description: Create a Webhook hints: readOnly: false destructive: false idempotent: false call: persona-webhooks.createwebhook outputParameters: - type: object mapping: $.