Mailchimp · Capability

Mailchimp Marketing API — Open

Mailchimp Marketing API — Open. 2 operations. Lead operation: Mailchimp List Campaign Open Details. Self-contained Naftiko capability covering one Mailchimp business surface.

Run with Naftiko MailchimpOpen

What You Can Do

GET
Getreportsidopendetails — Mailchimp List Campaign Open Details
/v1/reports/{campaign-id}/open-details
GET
Getreportsidopendetailsidmembersid — Mailchimp Get Opened Campaign Subscriber
/v1/reports/{campaign-id}/open-details/{subscriber-hash}

MCP Tools

mailchimp-list-campaign-open-details

Mailchimp List Campaign Open Details

read-only idempotent
mailchimp-get-opened-campaign-subscriber

Mailchimp Get Opened Campaign Subscriber

read-only idempotent

Capability Spec

marketing-open.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Mailchimp Marketing API  — Open
  description: 'Mailchimp Marketing API  — Open. 2 operations. Lead operation: Mailchimp List Campaign Open Details. Self-contained
    Naftiko capability covering one Mailchimp business surface.'
  tags:
  - Mailchimp
  - Open
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MAILCHIMP_API_KEY: MAILCHIMP_API_KEY
capability:
  consumes:
  - type: http
    namespace: marketing-open
    baseUri: https://server.api.mailchimp.com/3.0
    description: Mailchimp Marketing API  — Open business capability. Self-contained, no shared references.
    resources:
    - name: reports-campaign_id-open-details
      path: /reports/{campaign_id}/open-details
      operations:
      - name: getreportsidopendetails
        method: GET
        description: Mailchimp List Campaign Open Details
        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: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
        - name: since
          in: query
          type: string
          description: 'Restrict results to campaign open events that occur after a specific time. Uses ISO 8601 time format:
            2015-10-21T15:41:36+00:00.'
        - name: sort_field
          in: query
          type: string
          description: Returns open reports sorted by the specified field.
        - name: sort_dir
          in: query
          type: string
          description: Determines the order direction for sorted results.
    - name: reports-campaign_id-open-details-subscriber_hash
      path: /reports/{campaign_id}/open-details/{subscriber_hash}
      operations:
      - name: getreportsidopendetailsidmembersid
        method: GET
        description: Mailchimp Get Opened Campaign Subscriber
        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: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          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-open-rest
    port: 8080
    description: REST adapter for Mailchimp Marketing API  — Open. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/reports/{campaign-id}/open-details
      name: reports-campaign-id-open-details
      description: REST surface for reports-campaign_id-open-details.
      operations:
      - method: GET
        name: getreportsidopendetails
        description: Mailchimp List Campaign Open Details
        call: marketing-open.getreportsidopendetails
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          count: rest.count
          offset: rest.offset
          campaign_id: rest.campaign_id
          since: rest.since
          sort_field: rest.sort_field
          sort_dir: rest.sort_dir
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/reports/{campaign-id}/open-details/{subscriber-hash}
      name: reports-campaign-id-open-details-subscriber-hash
      description: REST surface for reports-campaign_id-open-details-subscriber_hash.
      operations:
      - method: GET
        name: getreportsidopendetailsidmembersid
        description: Mailchimp Get Opened Campaign Subscriber
        call: marketing-open.getreportsidopendetailsidmembersid
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          campaign_id: rest.campaign_id
          subscriber_hash: rest.subscriber_hash
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: marketing-open-mcp
    port: 9090
    transport: http
    description: MCP adapter for Mailchimp Marketing API  — Open. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: mailchimp-list-campaign-open-details
      description: Mailchimp List Campaign Open Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-open.getreportsidopendetails
      with:
        fields: tools.fields
        exclude_fields: tools.exclude_fields
        count: tools.count
        offset: tools.offset
        campaign_id: tools.campaign_id
        since: tools.since
        sort_field: tools.sort_field
        sort_dir: tools.sort_dir
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-get-opened-campaign-subscriber
      description: Mailchimp Get Opened Campaign Subscriber
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-open.getreportsidopendetailsidmembersid
      with:
        fields: tools.fields
        exclude_fields: tools.exclude_fields
        campaign_id: tools.campaign_id
        subscriber_hash: tools.subscriber_hash
      outputParameters:
      - type: object
        mapping: $.