naftiko: 1.0.0-alpha2 info: label: ActiveCampaign API v3 — Tasks description: 'ActiveCampaign API v3 — Tasks. 11 operations. Lead operation: ActiveCampaign Create a Task Reminder. Self-contained Naftiko capability covering one Activecampaign business surface.' tags: - Activecampaign - Tasks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ACTIVECAMPAIGN_API_KEY: ACTIVECAMPAIGN_API_KEY capability: consumes: - type: http namespace: v3-tasks baseUri: https://{yourAccountName}.api-us1.com/api/3 description: ActiveCampaign API v3 — Tasks business capability. Self-contained, no shared references. resources: - name: taskNotifications path: /taskNotifications operations: - name: createataskreminder method: POST description: ActiveCampaign Create a Task Reminder outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: taskOutccomes-id path: /taskOutccomes/{id} operations: - name: updateataskoutcome method: PUT description: ActiveCampaign Update a Task Outcome outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: Task outcome's id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deleteataskoutcome method: DELETE description: ActiveCampaign Delete a Task Outcome outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Task outcome's id required: true - name: taskOutcomes path: /taskOutcomes operations: - name: createataskoutcome method: POST description: ActiveCampaign Create a Task Outcome outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: listalltaskoutcomes method: GET description: ActiveCampaign List All Task Outcomes outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filters[sentiment] in: query type: string description: 1 is for Negative, 2 is for Neutral and 3 is for Positive - name: taskOutcomes-id path: /taskOutcomes/{id} operations: - name: retrieveataskoutcome method: GET description: ActiveCampaign Retrieve a Task Outcome outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: Task outcome's id required: true - name: tasktypeOutcomeRels path: /tasktypeOutcomeRels operations: - name: createataskoutcome1 method: POST description: ActiveCampaign WIP Create a Task Type - Outcome Relation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: listalltasktypeoutcomerelations method: GET description: ActiveCampaign List All Task Type - Outcome Relations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: tasktypeOutcomeRels-id path: /tasktypeOutcomeRels/{id} operations: - name: retrieveatasktypeoutcomerelation method: GET description: ActiveCampaign Retrieve a Task Type - Outcome Relation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: Task type - outcome relation's id required: true - name: updateataskoutcome1 method: PUT description: ActiveCampaign WIP Update a Task Type - Outcome Relation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: Task type - outcome relation's id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deleteatasktypeoutcomerelation method: DELETE description: ActiveCampaign Delete a Task Type - Outcome Relation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: Task type - outcome relation's id required: true authentication: type: apikey key: Api-Token value: '{{env.ACTIVECAMPAIGN_API_KEY}}' placement: header exposes: - type: rest namespace: v3-tasks-rest port: 8080 description: REST adapter for ActiveCampaign API v3 — Tasks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/tasknotifications name: tasknotifications description: REST surface for taskNotifications. operations: - method: POST name: createataskreminder description: ActiveCampaign Create a Task Reminder call: v3-tasks.createataskreminder with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/taskoutccomes/{id} name: taskoutccomes-id description: REST surface for taskOutccomes-id. operations: - method: PUT name: updateataskoutcome description: ActiveCampaign Update a Task Outcome call: v3-tasks.updateataskoutcome with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteataskoutcome description: ActiveCampaign Delete a Task Outcome call: v3-tasks.deleteataskoutcome with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/taskoutcomes name: taskoutcomes description: REST surface for taskOutcomes. operations: - method: POST name: createataskoutcome description: ActiveCampaign Create a Task Outcome call: v3-tasks.createataskoutcome with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listalltaskoutcomes description: ActiveCampaign List All Task Outcomes call: v3-tasks.listalltaskoutcomes with: filters[sentiment]: rest.filters[sentiment] outputParameters: - type: object mapping: $. - path: /v1/taskoutcomes/{id} name: taskoutcomes-id description: REST surface for taskOutcomes-id. operations: - method: GET name: retrieveataskoutcome description: ActiveCampaign Retrieve a Task Outcome call: v3-tasks.retrieveataskoutcome with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/tasktypeoutcomerels name: tasktypeoutcomerels description: REST surface for tasktypeOutcomeRels. operations: - method: POST name: createataskoutcome1 description: ActiveCampaign WIP Create a Task Type - Outcome Relation call: v3-tasks.createataskoutcome1 with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listalltasktypeoutcomerelations description: ActiveCampaign List All Task Type - Outcome Relations call: v3-tasks.listalltasktypeoutcomerelations outputParameters: - type: object mapping: $. - path: /v1/tasktypeoutcomerels/{id} name: tasktypeoutcomerels-id description: REST surface for tasktypeOutcomeRels-id. operations: - method: GET name: retrieveatasktypeoutcomerelation description: ActiveCampaign Retrieve a Task Type - Outcome Relation call: v3-tasks.retrieveatasktypeoutcomerelation with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: updateataskoutcome1 description: ActiveCampaign WIP Update a Task Type - Outcome Relation call: v3-tasks.updateataskoutcome1 with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteatasktypeoutcomerelation description: ActiveCampaign Delete a Task Type - Outcome Relation call: v3-tasks.deleteatasktypeoutcomerelation with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: v3-tasks-mcp port: 9090 transport: http description: MCP adapter for ActiveCampaign API v3 — Tasks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: activecampaign-create-task-reminder description: ActiveCampaign Create a Task Reminder hints: readOnly: false destructive: false idempotent: false call: v3-tasks.createataskreminder with: body: tools.body outputParameters: - type: object mapping: $. - name: activecampaign-update-task-outcome description: ActiveCampaign Update a Task Outcome hints: readOnly: false destructive: false idempotent: true call: v3-tasks.updateataskoutcome with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: activecampaign-delete-task-outcome description: ActiveCampaign Delete a Task Outcome hints: readOnly: false destructive: true idempotent: true call: v3-tasks.deleteataskoutcome with: id: tools.id outputParameters: - type: object mapping: $. - name: activecampaign-create-task-outcome description: ActiveCampaign Create a Task Outcome hints: readOnly: false destructive: false idempotent: false call: v3-tasks.createataskoutcome with: body: tools.body outputParameters: - type: object mapping: $. - name: activecampaign-list-all-task-outcomes description: ActiveCampaign List All Task Outcomes hints: readOnly: true destructive: false idempotent: true call: v3-tasks.listalltaskoutcomes with: filters[sentiment]: tools.filters[sentiment] outputParameters: - type: object mapping: $. - name: activecampaign-retrieve-task-outcome description: ActiveCampaign Retrieve a Task Outcome hints: readOnly: true destructive: false idempotent: true call: v3-tasks.retrieveataskoutcome with: id: tools.id outputParameters: - type: object mapping: $. - name: activecampaign-wip-create-task-type description: ActiveCampaign WIP Create a Task Type - Outcome Relation hints: readOnly: false destructive: false idempotent: false call: v3-tasks.createataskoutcome1 with: body: tools.body outputParameters: - type: object mapping: $. - name: activecampaign-list-all-task-type description: ActiveCampaign List All Task Type - Outcome Relations hints: readOnly: true destructive: false idempotent: true call: v3-tasks.listalltasktypeoutcomerelations outputParameters: - type: object mapping: $. - name: activecampaign-retrieve-task-type-outcome description: ActiveCampaign Retrieve a Task Type - Outcome Relation hints: readOnly: true destructive: false idempotent: true call: v3-tasks.retrieveatasktypeoutcomerelation with: id: tools.id outputParameters: - type: object mapping: $. - name: activecampaign-wip-update-task-type description: ActiveCampaign WIP Update a Task Type - Outcome Relation hints: readOnly: false destructive: false idempotent: true call: v3-tasks.updateataskoutcome1 with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: activecampaign-delete-task-type-outcome description: ActiveCampaign Delete a Task Type - Outcome Relation hints: readOnly: false destructive: true idempotent: true call: v3-tasks.deleteatasktypeoutcomerelation with: id: tools.id outputParameters: - type: object mapping: $.