naftiko: 1.0.0-alpha2 info: label: Mailchimp Marketing API — Conversations description: 'Mailchimp Marketing API — Conversations. 4 operations. Lead operation: Mailchimp List Conversations. Self-contained Naftiko capability covering one Mailchimp business surface.' tags: - Mailchimp - Conversations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MAILCHIMP_API_KEY: MAILCHIMP_API_KEY capability: consumes: - type: http namespace: marketing-conversations baseUri: https://server.api.mailchimp.com/3.0 description: Mailchimp Marketing API — Conversations business capability. Self-contained, no shared references. resources: - name: conversations path: /conversations operations: - name: getconversations method: GET description: Mailchimp List Conversations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. - name: exclude_fields in: query type: array description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. - name: count in: query type: integer description: The number of records to return. Default value is 10. Maximum value is 1000 - name: offset in: query type: integer description: Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination), this it the number of records from a collection to skip. D - name: has_unread_messages in: query type: string description: Whether the conversation has any unread messages. - name: list_id in: query type: string description: The unique id for the list. - name: campaign_id in: query type: string description: The unique id for the campaign. - name: conversations-conversation_id path: /conversations/{conversation_id} operations: - name: getconversationsid method: GET description: Mailchimp Get Conversation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. - name: exclude_fields in: query type: array description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. - name: conversation_id in: path type: string description: The unique id for the conversation. required: true - name: conversations-conversation_id-messages path: /conversations/{conversation_id}/messages operations: - name: getconversationsidmessages method: GET description: Mailchimp List Messages outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. - name: exclude_fields in: query type: array description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. - name: conversation_id in: path type: string description: The unique id for the conversation. required: true - name: is_read in: query type: string description: Whether a conversation message has been marked as read. - name: before_timestamp in: query type: string description: 'Restrict the response to messages created before the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.' - name: since_timestamp in: query type: string description: 'Restrict the response to messages created after the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.' - name: conversations-conversation_id-messages-message_id path: /conversations/{conversation_id}/messages/{message_id} operations: - name: getconversationsidmessagesid method: GET description: Mailchimp Get Message outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. - name: exclude_fields in: query type: array description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. - name: conversation_id in: path type: string description: The unique id for the conversation. required: true - name: message_id in: path type: string description: The unique id for the conversation message. required: true exposes: - type: rest namespace: marketing-conversations-rest port: 8080 description: REST adapter for Mailchimp Marketing API — Conversations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/conversations name: conversations description: REST surface for conversations. operations: - method: GET name: getconversations description: Mailchimp List Conversations call: marketing-conversations.getconversations with: fields: rest.fields exclude_fields: rest.exclude_fields count: rest.count offset: rest.offset has_unread_messages: rest.has_unread_messages list_id: rest.list_id campaign_id: rest.campaign_id outputParameters: - type: object mapping: $. - path: /v1/conversations/{conversation-id} name: conversations-conversation-id description: REST surface for conversations-conversation_id. operations: - method: GET name: getconversationsid description: Mailchimp Get Conversation call: marketing-conversations.getconversationsid with: fields: rest.fields exclude_fields: rest.exclude_fields conversation_id: rest.conversation_id outputParameters: - type: object mapping: $. - path: /v1/conversations/{conversation-id}/messages name: conversations-conversation-id-messages description: REST surface for conversations-conversation_id-messages. operations: - method: GET name: getconversationsidmessages description: Mailchimp List Messages call: marketing-conversations.getconversationsidmessages with: fields: rest.fields exclude_fields: rest.exclude_fields conversation_id: rest.conversation_id is_read: rest.is_read before_timestamp: rest.before_timestamp since_timestamp: rest.since_timestamp outputParameters: - type: object mapping: $. - path: /v1/conversations/{conversation-id}/messages/{message-id} name: conversations-conversation-id-messages-message-id description: REST surface for conversations-conversation_id-messages-message_id. operations: - method: GET name: getconversationsidmessagesid description: Mailchimp Get Message call: marketing-conversations.getconversationsidmessagesid with: fields: rest.fields exclude_fields: rest.exclude_fields conversation_id: rest.conversation_id message_id: rest.message_id outputParameters: - type: object mapping: $. - type: mcp namespace: marketing-conversations-mcp port: 9090 transport: http description: MCP adapter for Mailchimp Marketing API — Conversations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: mailchimp-list-conversations description: Mailchimp List Conversations hints: readOnly: true destructive: false idempotent: true call: marketing-conversations.getconversations with: fields: tools.fields exclude_fields: tools.exclude_fields count: tools.count offset: tools.offset has_unread_messages: tools.has_unread_messages list_id: tools.list_id campaign_id: tools.campaign_id outputParameters: - type: object mapping: $. - name: mailchimp-get-conversation description: Mailchimp Get Conversation hints: readOnly: true destructive: false idempotent: true call: marketing-conversations.getconversationsid with: fields: tools.fields exclude_fields: tools.exclude_fields conversation_id: tools.conversation_id outputParameters: - type: object mapping: $. - name: mailchimp-list-messages description: Mailchimp List Messages hints: readOnly: true destructive: false idempotent: true call: marketing-conversations.getconversationsidmessages with: fields: tools.fields exclude_fields: tools.exclude_fields conversation_id: tools.conversation_id is_read: tools.is_read before_timestamp: tools.before_timestamp since_timestamp: tools.since_timestamp outputParameters: - type: object mapping: $. - name: mailchimp-get-message description: Mailchimp Get Message hints: readOnly: true destructive: false idempotent: true call: marketing-conversations.getconversationsidmessagesid with: fields: tools.fields exclude_fields: tools.exclude_fields conversation_id: tools.conversation_id message_id: tools.message_id outputParameters: - type: object mapping: $.