naftiko: 1.0.0-alpha2 info: label: Mailchimp Marketing API — Emails description: 'Mailchimp Marketing API — Emails. 11 operations. Lead operation: Mailchimp Pause Automation Emails. Self-contained Naftiko capability covering one Mailchimp business surface.' tags: - Mailchimp - Emails created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MAILCHIMP_API_KEY: MAILCHIMP_API_KEY capability: consumes: - type: http namespace: marketing-emails baseUri: https://server.api.mailchimp.com/3.0 description: Mailchimp Marketing API — Emails business capability. Self-contained, no shared references. resources: - name: automations-workflow_id-actions-pause-all-emails path: /automations/{workflow_id}/actions/pause-all-emails operations: - name: postautomationsidactionspauseallemails method: POST description: Mailchimp Pause Automation Emails outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workflow_id in: path type: string description: The unique id for the Automation workflow. required: true - name: automations-workflow_id-actions-start-all-emails path: /automations/{workflow_id}/actions/start-all-emails operations: - name: postautomationsidactionsstartallemails method: POST description: Mailchimp Start Automation Emails outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workflow_id in: path type: string description: The unique id for the Automation workflow. required: true - name: automations-workflow_id-emails path: /automations/{workflow_id}/emails operations: - name: getautomationsidemails method: GET description: Mailchimp List Automated Emails outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workflow_id in: path type: string description: The unique id for the Automation workflow. required: true - name: automations-workflow_id-emails-workflow_email_id path: /automations/{workflow_id}/emails/{workflow_email_id} operations: - name: getautomationsidemailsid method: GET description: Mailchimp Get Workflow Email Info outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workflow_id in: path type: string description: The unique id for the Automation workflow. required: true - name: workflow_email_id in: path type: string description: The unique id for the Automation workflow email. required: true - name: deleteautomationsidemailsid method: DELETE description: Mailchimp Delete Workflow Email outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workflow_id in: path type: string description: The unique id for the Automation workflow. required: true - name: workflow_email_id in: path type: string description: The unique id for the Automation workflow email. required: true - name: patchautomationemailworkflowid method: PATCH description: Mailchimp Update Workflow Email outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workflow_id in: path type: string description: The unique id for the Automation workflow. required: true - name: workflow_email_id in: path type: string description: The unique id for the Automation workflow email. required: true - name: body in: body type: object required: true - name: automations-workflow_id-emails-workflow_email_id-actions-pause path: /automations/{workflow_id}/emails/{workflow_email_id}/actions/pause operations: - name: postautomationsidemailsidactionspause method: POST description: Mailchimp Pause Automated Email outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workflow_id in: path type: string description: The unique id for the Automation workflow. required: true - name: workflow_email_id in: path type: string description: The unique id for the Automation workflow email. required: true - name: automations-workflow_id-emails-workflow_email_id-actions-start path: /automations/{workflow_id}/emails/{workflow_email_id}/actions/start operations: - name: postautomationsidemailsidactionsstart method: POST description: Mailchimp Start Automated Email outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workflow_id in: path type: string description: The unique id for the Automation workflow. required: true - name: workflow_email_id in: path type: string description: The unique id for the Automation workflow email. required: true - name: automations-workflow_id-emails-workflow_email_id-queue path: /automations/{workflow_id}/emails/{workflow_email_id}/queue operations: - name: getautomationsidemailsidqueue method: GET description: Mailchimp List Automated Email Subscribers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workflow_id in: path type: string description: The unique id for the Automation workflow. required: true - name: workflow_email_id in: path type: string description: The unique id for the Automation workflow email. required: true - name: postautomationsidemailsidqueue method: POST description: Mailchimp Add Subscriber to Workflow Email outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workflow_id in: path type: string description: The unique id for the Automation workflow. required: true - name: workflow_email_id in: path type: string description: The unique id for the Automation workflow email. required: true - name: body in: body type: object required: true - name: automations-workflow_id-emails-workflow_email_id-queue-subscriber_hash path: /automations/{workflow_id}/emails/{workflow_email_id}/queue/{subscriber_hash} operations: - name: getautomationsidemailsidqueueid method: GET description: Mailchimp Get Automated Email Subscriber outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workflow_id in: path type: string description: The unique id for the Automation workflow. required: true - name: workflow_email_id in: path type: string description: The unique id for the Automation workflow email. required: true - name: subscriber_hash in: path type: string description: The MD5 hash of the lowercase version of the list member's email address. required: true exposes: - type: rest namespace: marketing-emails-rest port: 8080 description: REST adapter for Mailchimp Marketing API — Emails. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/automations/{workflow-id}/actions/pause-all-emails name: automations-workflow-id-actions-pause-all-emails description: REST surface for automations-workflow_id-actions-pause-all-emails. operations: - method: POST name: postautomationsidactionspauseallemails description: Mailchimp Pause Automation Emails call: marketing-emails.postautomationsidactionspauseallemails with: workflow_id: rest.workflow_id outputParameters: - type: object mapping: $. - path: /v1/automations/{workflow-id}/actions/start-all-emails name: automations-workflow-id-actions-start-all-emails description: REST surface for automations-workflow_id-actions-start-all-emails. operations: - method: POST name: postautomationsidactionsstartallemails description: Mailchimp Start Automation Emails call: marketing-emails.postautomationsidactionsstartallemails with: workflow_id: rest.workflow_id outputParameters: - type: object mapping: $. - path: /v1/automations/{workflow-id}/emails name: automations-workflow-id-emails description: REST surface for automations-workflow_id-emails. operations: - method: GET name: getautomationsidemails description: Mailchimp List Automated Emails call: marketing-emails.getautomationsidemails with: workflow_id: rest.workflow_id outputParameters: - type: object mapping: $. - path: /v1/automations/{workflow-id}/emails/{workflow-email-id} name: automations-workflow-id-emails-workflow-email-id description: REST surface for automations-workflow_id-emails-workflow_email_id. operations: - method: GET name: getautomationsidemailsid description: Mailchimp Get Workflow Email Info call: marketing-emails.getautomationsidemailsid with: workflow_id: rest.workflow_id workflow_email_id: rest.workflow_email_id outputParameters: - type: object mapping: $. - method: DELETE name: deleteautomationsidemailsid description: Mailchimp Delete Workflow Email call: marketing-emails.deleteautomationsidemailsid with: workflow_id: rest.workflow_id workflow_email_id: rest.workflow_email_id outputParameters: - type: object mapping: $. - method: PATCH name: patchautomationemailworkflowid description: Mailchimp Update Workflow Email call: marketing-emails.patchautomationemailworkflowid with: workflow_id: rest.workflow_id workflow_email_id: rest.workflow_email_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/automations/{workflow-id}/emails/{workflow-email-id}/actions/pause name: automations-workflow-id-emails-workflow-email-id-actions-pause description: REST surface for automations-workflow_id-emails-workflow_email_id-actions-pause. operations: - method: POST name: postautomationsidemailsidactionspause description: Mailchimp Pause Automated Email call: marketing-emails.postautomationsidemailsidactionspause with: workflow_id: rest.workflow_id workflow_email_id: rest.workflow_email_id outputParameters: - type: object mapping: $. - path: /v1/automations/{workflow-id}/emails/{workflow-email-id}/actions/start name: automations-workflow-id-emails-workflow-email-id-actions-start description: REST surface for automations-workflow_id-emails-workflow_email_id-actions-start. operations: - method: POST name: postautomationsidemailsidactionsstart description: Mailchimp Start Automated Email call: marketing-emails.postautomationsidemailsidactionsstart with: workflow_id: rest.workflow_id workflow_email_id: rest.workflow_email_id outputParameters: - type: object mapping: $. - path: /v1/automations/{workflow-id}/emails/{workflow-email-id}/queue name: automations-workflow-id-emails-workflow-email-id-queue description: REST surface for automations-workflow_id-emails-workflow_email_id-queue. operations: - method: GET name: getautomationsidemailsidqueue description: Mailchimp List Automated Email Subscribers call: marketing-emails.getautomationsidemailsidqueue with: workflow_id: rest.workflow_id workflow_email_id: rest.workflow_email_id outputParameters: - type: object mapping: $. - method: POST name: postautomationsidemailsidqueue description: Mailchimp Add Subscriber to Workflow Email call: marketing-emails.postautomationsidemailsidqueue with: workflow_id: rest.workflow_id workflow_email_id: rest.workflow_email_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/automations/{workflow-id}/emails/{workflow-email-id}/queue/{subscriber-hash} name: automations-workflow-id-emails-workflow-email-id-queue-subscriber-hash description: REST surface for automations-workflow_id-emails-workflow_email_id-queue-subscriber_hash. operations: - method: GET name: getautomationsidemailsidqueueid description: Mailchimp Get Automated Email Subscriber call: marketing-emails.getautomationsidemailsidqueueid with: workflow_id: rest.workflow_id workflow_email_id: rest.workflow_email_id subscriber_hash: rest.subscriber_hash outputParameters: - type: object mapping: $. - type: mcp namespace: marketing-emails-mcp port: 9090 transport: http description: MCP adapter for Mailchimp Marketing API — Emails. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: mailchimp-pause-automation-emails description: Mailchimp Pause Automation Emails hints: readOnly: false destructive: false idempotent: false call: marketing-emails.postautomationsidactionspauseallemails with: workflow_id: tools.workflow_id outputParameters: - type: object mapping: $. - name: mailchimp-start-automation-emails description: Mailchimp Start Automation Emails hints: readOnly: false destructive: false idempotent: false call: marketing-emails.postautomationsidactionsstartallemails with: workflow_id: tools.workflow_id outputParameters: - type: object mapping: $. - name: mailchimp-list-automated-emails description: Mailchimp List Automated Emails hints: readOnly: true destructive: false idempotent: true call: marketing-emails.getautomationsidemails with: workflow_id: tools.workflow_id outputParameters: - type: object mapping: $. - name: mailchimp-get-workflow-email-info description: Mailchimp Get Workflow Email Info hints: readOnly: true destructive: false idempotent: true call: marketing-emails.getautomationsidemailsid with: workflow_id: tools.workflow_id workflow_email_id: tools.workflow_email_id outputParameters: - type: object mapping: $. - name: mailchimp-delete-workflow-email description: Mailchimp Delete Workflow Email hints: readOnly: false destructive: true idempotent: true call: marketing-emails.deleteautomationsidemailsid with: workflow_id: tools.workflow_id workflow_email_id: tools.workflow_email_id outputParameters: - type: object mapping: $. - name: mailchimp-update-workflow-email description: Mailchimp Update Workflow Email hints: readOnly: false destructive: false idempotent: true call: marketing-emails.patchautomationemailworkflowid with: workflow_id: tools.workflow_id workflow_email_id: tools.workflow_email_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-pause-automated-email description: Mailchimp Pause Automated Email hints: readOnly: false destructive: false idempotent: false call: marketing-emails.postautomationsidemailsidactionspause with: workflow_id: tools.workflow_id workflow_email_id: tools.workflow_email_id outputParameters: - type: object mapping: $. - name: mailchimp-start-automated-email description: Mailchimp Start Automated Email hints: readOnly: false destructive: false idempotent: false call: marketing-emails.postautomationsidemailsidactionsstart with: workflow_id: tools.workflow_id workflow_email_id: tools.workflow_email_id outputParameters: - type: object mapping: $. - name: mailchimp-list-automated-email-subscribers description: Mailchimp List Automated Email Subscribers hints: readOnly: true destructive: false idempotent: true call: marketing-emails.getautomationsidemailsidqueue with: workflow_id: tools.workflow_id workflow_email_id: tools.workflow_email_id outputParameters: - type: object mapping: $. - name: mailchimp-add-subscriber-workflow-email description: Mailchimp Add Subscriber to Workflow Email hints: readOnly: false destructive: false idempotent: false call: marketing-emails.postautomationsidemailsidqueue with: workflow_id: tools.workflow_id workflow_email_id: tools.workflow_email_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-get-automated-email-subscriber description: Mailchimp Get Automated Email Subscriber hints: readOnly: true destructive: false idempotent: true call: marketing-emails.getautomationsidemailsidqueueid with: workflow_id: tools.workflow_id workflow_email_id: tools.workflow_email_id subscriber_hash: tools.subscriber_hash outputParameters: - type: object mapping: $.