naftiko: 1.0.0-alpha2 info: label: AhaSend Email API — Email description: 'AhaSend Email API — Email. 1 operations. Lead operation: AhaSend Send Emails. Self-contained Naftiko capability covering one Ahasend business surface.' tags: - Ahasend - Email created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AHASEND_API_KEY: AHASEND_API_KEY capability: consumes: - type: http namespace: ahasend-email baseUri: https://api.ahasend.com/v1 description: AhaSend Email API — Email business capability. Self-contained, no shared references. resources: - name: email-send path: /email/send operations: - name: sendemail method: POST description: AhaSend Send Emails outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string description: Only application/json is supported - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-Api-Key value: '{{env.AHASEND_API_KEY}}' placement: header exposes: - type: rest namespace: ahasend-email-rest port: 8080 description: REST adapter for AhaSend Email API — Email. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/email/send name: email-send description: REST surface for email-send. operations: - method: POST name: sendemail description: AhaSend Send Emails call: ahasend-email.sendemail with: Content-Type: rest.Content-Type body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: ahasend-email-mcp port: 9090 transport: http description: MCP adapter for AhaSend Email API — Email. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: ahasend-send-emails description: AhaSend Send Emails hints: readOnly: false destructive: false idempotent: false call: ahasend-email.sendemail with: Content-Type: tools.Content-Type body: tools.body outputParameters: - type: object mapping: $.