naftiko: 1.0.0-alpha2 info: label: ActiveCampaign API v3 — Templates description: 'ActiveCampaign API v3 — Templates. 1 operations. Lead operation: ActiveCampaign Retrieve a Template. Self-contained Naftiko capability covering one Activecampaign business surface.' tags: - Activecampaign - Templates created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ACTIVECAMPAIGN_API_KEY: ACTIVECAMPAIGN_API_KEY capability: consumes: - type: http namespace: v3-templates baseUri: https://{yourAccountName}.api-us1.com/api/3 description: ActiveCampaign API v3 — Templates business capability. Self-contained, no shared references. resources: - name: templates-id path: /templates/{id} operations: - name: retrieveatemplate method: GET description: ActiveCampaign Retrieve a Template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: ID of the template to retrieve required: true authentication: type: apikey key: Api-Token value: '{{env.ACTIVECAMPAIGN_API_KEY}}' placement: header exposes: - type: rest namespace: v3-templates-rest port: 8080 description: REST adapter for ActiveCampaign API v3 — Templates. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/templates/{id} name: templates-id description: REST surface for templates-id. operations: - method: GET name: retrieveatemplate description: ActiveCampaign Retrieve a Template call: v3-templates.retrieveatemplate with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: v3-templates-mcp port: 9090 transport: http description: MCP adapter for ActiveCampaign API v3 — Templates. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: activecampaign-retrieve-template description: ActiveCampaign Retrieve a Template hints: readOnly: true destructive: false idempotent: true call: v3-templates.retrieveatemplate with: id: tools.id outputParameters: - type: object mapping: $.