naftiko: 1.0.0-alpha2 info: label: ActiveCampaign API v3 — Calendars description: 'ActiveCampaign API v3 — Calendars. 5 operations. Lead operation: ActiveCampaign Create a Calendar Feed. Self-contained Naftiko capability covering one Activecampaign business surface.' tags: - Activecampaign - Calendars created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ACTIVECAMPAIGN_API_KEY: ACTIVECAMPAIGN_API_KEY capability: consumes: - type: http namespace: v3-calendars baseUri: https://{yourAccountName}.api-us1.com/api/3 description: ActiveCampaign API v3 — Calendars business capability. Self-contained, no shared references. resources: - name: calendars path: /calendars operations: - name: createacalendarfeed method: POST description: ActiveCampaign Create a Calendar Feed outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: listallcalendarfeeds method: GET description: ActiveCampaign List All Calendar Feeds outputRawFormat: json outputParameters: - name: result type: object value: $. - name: calendars-id path: /calendars/{id} operations: - name: listallcalendarfeeds1 method: GET description: ActiveCampaign Retrieve a Calendar Feed outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: ID of the calendar feed to retrieve required: true - name: updateacalendarfeed method: PUT description: ActiveCampaign Update a Calendar Feed outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: ID of the calendar feed to update required: true - name: body in: body type: object description: Request body (JSON). required: false - name: removeacalendarfeed method: DELETE description: ActiveCampaign Delete a Calendar Feed outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: ID of the calendar feed to delete required: true authentication: type: apikey key: Api-Token value: '{{env.ACTIVECAMPAIGN_API_KEY}}' placement: header exposes: - type: rest namespace: v3-calendars-rest port: 8080 description: REST adapter for ActiveCampaign API v3 — Calendars. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/calendars name: calendars description: REST surface for calendars. operations: - method: POST name: createacalendarfeed description: ActiveCampaign Create a Calendar Feed call: v3-calendars.createacalendarfeed with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listallcalendarfeeds description: ActiveCampaign List All Calendar Feeds call: v3-calendars.listallcalendarfeeds outputParameters: - type: object mapping: $. - path: /v1/calendars/{id} name: calendars-id description: REST surface for calendars-id. operations: - method: GET name: listallcalendarfeeds1 description: ActiveCampaign Retrieve a Calendar Feed call: v3-calendars.listallcalendarfeeds1 with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: updateacalendarfeed description: ActiveCampaign Update a Calendar Feed call: v3-calendars.updateacalendarfeed with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: removeacalendarfeed description: ActiveCampaign Delete a Calendar Feed call: v3-calendars.removeacalendarfeed with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: v3-calendars-mcp port: 9090 transport: http description: MCP adapter for ActiveCampaign API v3 — Calendars. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: activecampaign-create-calendar-feed description: ActiveCampaign Create a Calendar Feed hints: readOnly: false destructive: false idempotent: false call: v3-calendars.createacalendarfeed with: body: tools.body outputParameters: - type: object mapping: $. - name: activecampaign-list-all-calendar-feeds description: ActiveCampaign List All Calendar Feeds hints: readOnly: true destructive: false idempotent: true call: v3-calendars.listallcalendarfeeds outputParameters: - type: object mapping: $. - name: activecampaign-retrieve-calendar-feed description: ActiveCampaign Retrieve a Calendar Feed hints: readOnly: true destructive: false idempotent: true call: v3-calendars.listallcalendarfeeds1 with: id: tools.id outputParameters: - type: object mapping: $. - name: activecampaign-update-calendar-feed description: ActiveCampaign Update a Calendar Feed hints: readOnly: false destructive: false idempotent: true call: v3-calendars.updateacalendarfeed with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: activecampaign-delete-calendar-feed description: ActiveCampaign Delete a Calendar Feed hints: readOnly: false destructive: true idempotent: true call: v3-calendars.removeacalendarfeed with: id: tools.id outputParameters: - type: object mapping: $.