Mailchimp · Capability

Mailchimp Marketing API — Campaigns

Mailchimp Marketing API — Campaigns. 28 operations. Lead operation: Mailchimp List Campaign Folders. Self-contained Naftiko capability covering one Mailchimp business surface.

Run with Naftiko MailchimpCampaigns

What You Can Do

GET
Getcampaignfolders — Mailchimp List Campaign Folders
/v1/campaign-folders
POST
Postcampaignfolders — Mailchimp Add Campaign Folder
/v1/campaign-folders
GET
Getcampaignfoldersid — Mailchimp Get Campaign Folder
/v1/campaign-folders/{folder-id}
PATCH
Patchcampaignfoldersid — Mailchimp Update Campaign Folder
/v1/campaign-folders/{folder-id}
DELETE
Deletecampaignfoldersid — Mailchimp Delete Campaign Folder
/v1/campaign-folders/{folder-id}
GET
Getcampaigns — Mailchimp List Campaigns
/v1/campaigns
POST
Postcampaigns — Mailchimp Add Campaign
/v1/campaigns
GET
Getcampaignsid — Mailchimp Get Campaign Info
/v1/campaigns/{campaign-id}
PATCH
Patchcampaignsid — Mailchimp Update Campaign Settings
/v1/campaigns/{campaign-id}
DELETE
Deletecampaignsid — Mailchimp Delete Campaign
/v1/campaigns/{campaign-id}
POST
Postcampaignsidactionscancelsend — Mailchimp Cancel Campaign
/v1/campaigns/{campaign-id}/actions/cancel-send
POST
Postcampaignsidactionscreateresend — Mailchimp Resend Campaign
/v1/campaigns/{campaign-id}/actions/create-resend
POST
Postcampaignsidactionspause — Mailchimp Pause Rss Campaign
/v1/campaigns/{campaign-id}/actions/pause
POST
Postcampaignsidactionsreplicate — Mailchimp Replicate Campaign
/v1/campaigns/{campaign-id}/actions/replicate
POST
Postcampaignsidactionsresume — Mailchimp Resume Rss Campaign
/v1/campaigns/{campaign-id}/actions/resume
POST
Postcampaignsidactionsschedule — Mailchimp Schedule Campaign
/v1/campaigns/{campaign-id}/actions/schedule
POST
Postcampaignsidactionssend — Mailchimp Send Campaign
/v1/campaigns/{campaign-id}/actions/send
POST
Postcampaignsidactionstest — Mailchimp Send Test Email
/v1/campaigns/{campaign-id}/actions/test
POST
Postcampaignsidactionsunschedule — Mailchimp Unschedule Campaign
/v1/campaigns/{campaign-id}/actions/unschedule
GET
Getcampaignsidcontent — Mailchimp Get Campaign Content
/v1/campaigns/{campaign-id}/content
PUT
Putcampaignsidcontent — Mailchimp Set Campaign Content
/v1/campaigns/{campaign-id}/content
GET
Getcampaignsidfeedback — Mailchimp List Campaign Feedback
/v1/campaigns/{campaign-id}/feedback
POST
Postcampaignsidfeedback — Mailchimp Add Campaign Feedback
/v1/campaigns/{campaign-id}/feedback
GET
Getcampaignsidfeedbackid — Mailchimp Get Campaign Feedback Message
/v1/campaigns/{campaign-id}/feedback/{feedback-id}
PATCH
Patchcampaignsidfeedbackid — Mailchimp Update Campaign Feedback Message
/v1/campaigns/{campaign-id}/feedback/{feedback-id}
DELETE
Deletecampaignsidfeedbackid — Mailchimp Delete Campaign Feedback Message
/v1/campaigns/{campaign-id}/feedback/{feedback-id}
GET
Getcampaignsidsendchecklist — Mailchimp Get Campaign Send Checklist
/v1/campaigns/{campaign-id}/send-checklist
GET
Getsearchcampaigns — Mailchimp Search Campaigns
/v1/search-campaigns

MCP Tools

mailchimp-list-campaign-folders

Mailchimp List Campaign Folders

read-only idempotent
mailchimp-add-campaign-folder

Mailchimp Add Campaign Folder

mailchimp-get-campaign-folder

Mailchimp Get Campaign Folder

read-only idempotent
mailchimp-update-campaign-folder

Mailchimp Update Campaign Folder

idempotent
mailchimp-delete-campaign-folder

Mailchimp Delete Campaign Folder

idempotent
mailchimp-list-campaigns

Mailchimp List Campaigns

read-only idempotent
mailchimp-add-campaign

Mailchimp Add Campaign

mailchimp-get-campaign-info

Mailchimp Get Campaign Info

read-only idempotent
mailchimp-update-campaign-settings

Mailchimp Update Campaign Settings

idempotent
mailchimp-delete-campaign

Mailchimp Delete Campaign

idempotent
mailchimp-cancel-campaign

Mailchimp Cancel Campaign

mailchimp-resend-campaign

Mailchimp Resend Campaign

mailchimp-pause-rss-campaign

Mailchimp Pause Rss Campaign

mailchimp-replicate-campaign

Mailchimp Replicate Campaign

mailchimp-resume-rss-campaign

Mailchimp Resume Rss Campaign

mailchimp-schedule-campaign

Mailchimp Schedule Campaign

mailchimp-send-campaign

Mailchimp Send Campaign

mailchimp-send-test-email

Mailchimp Send Test Email

read-only
mailchimp-unschedule-campaign

Mailchimp Unschedule Campaign

mailchimp-get-campaign-content

Mailchimp Get Campaign Content

read-only idempotent
mailchimp-set-campaign-content

Mailchimp Set Campaign Content

idempotent
mailchimp-list-campaign-feedback

Mailchimp List Campaign Feedback

read-only idempotent
mailchimp-add-campaign-feedback

Mailchimp Add Campaign Feedback

mailchimp-get-campaign-feedback-message

Mailchimp Get Campaign Feedback Message

read-only idempotent
mailchimp-update-campaign-feedback-message

Mailchimp Update Campaign Feedback Message

idempotent
mailchimp-delete-campaign-feedback-message

Mailchimp Delete Campaign Feedback Message

idempotent
mailchimp-get-campaign-send-checklist

Mailchimp Get Campaign Send Checklist

read-only idempotent
mailchimp-search-campaigns

Mailchimp Search Campaigns

read-only idempotent

Capability Spec

marketing-campaigns.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Mailchimp Marketing API  — Campaigns
  description: 'Mailchimp Marketing API  — Campaigns. 28 operations. Lead operation: Mailchimp List Campaign Folders. Self-contained
    Naftiko capability covering one Mailchimp business surface.'
  tags:
  - Mailchimp
  - Campaigns
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MAILCHIMP_API_KEY: MAILCHIMP_API_KEY
capability:
  consumes:
  - type: http
    namespace: marketing-campaigns
    baseUri: https://server.api.mailchimp.com/3.0
    description: Mailchimp Marketing API  — Campaigns business capability. Self-contained, no shared references.
    resources:
    - name: campaign-folders
      path: /campaign-folders
      operations:
      - name: getcampaignfolders
        method: GET
        description: Mailchimp List Campaign Folders
        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: postcampaignfolders
        method: POST
        description: Mailchimp Add Campaign Folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    - name: campaign-folders-folder_id
      path: /campaign-folders/{folder_id}
      operations:
      - name: getcampaignfoldersid
        method: GET
        description: Mailchimp Get Campaign Folder
        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: folder_id
          in: path
          type: string
          description: The unique id for the campaign folder.
          required: true
      - name: patchcampaignfoldersid
        method: PATCH
        description: Mailchimp Update Campaign Folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: folder_id
          in: path
          type: string
          description: The unique id for the campaign folder.
          required: true
        - name: body
          in: body
          type: object
          required: true
      - name: deletecampaignfoldersid
        method: DELETE
        description: Mailchimp Delete Campaign Folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: folder_id
          in: path
          type: string
          description: The unique id for the campaign folder.
          required: true
    - name: campaigns
      path: /campaigns
      operations:
      - name: getcampaigns
        method: GET
        description: Mailchimp List Campaigns
        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: type
          in: query
          type: string
          description: The campaign type.
        - name: status
          in: query
          type: string
          description: The status of the campaign.
        - name: before_send_time
          in: query
          type: string
          description: 'Restrict the response to campaigns sent before the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.'
        - name: since_send_time
          in: query
          type: string
          description: 'Restrict the response to campaigns sent after the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.'
        - name: before_create_time
          in: query
          type: string
          description: 'Restrict the response to campaigns created before the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.'
        - name: since_create_time
          in: query
          type: string
          description: 'Restrict the response to campaigns created after the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.'
        - name: list_id
          in: query
          type: string
          description: The unique id for the list.
        - name: folder_id
          in: query
          type: string
          description: The unique folder id.
        - name: member_id
          in: query
          type: string
          description: Retrieve campaigns sent to a particular list member. Member ID is The MD5 hash of the lowercase version
            of the list members email address.
        - name: sort_field
          in: query
          type: string
          description: Returns files sorted by the specified field.
        - name: sort_dir
          in: query
          type: string
          description: Determines the order direction for sorted results.
        - name: include_resend_shortcut_eligibility
          in: query
          type: boolean
          description: Return the `resend_shortcut_eligibility` field in the response, which tells you if the campaign is
            eligible for the various Campaign Resend Shortcuts offered.
      - name: postcampaigns
        method: POST
        description: Mailchimp Add Campaign
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    - name: campaigns-campaign_id
      path: /campaigns/{campaign_id}
      operations:
      - name: getcampaignsid
        method: GET
        description: Mailchimp Get Campaign Info
        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: include_resend_shortcut_eligibility
          in: query
          type: boolean
          description: Return the `resend_shortcut_eligibility` field in the response, which tells you if the campaign is
            eligible for the various Campaign Resend Shortcuts offered.
      - name: patchcampaignsid
        method: PATCH
        description: Mailchimp Update Campaign Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
        - name: body
          in: body
          type: object
          required: true
      - name: deletecampaignsid
        method: DELETE
        description: Mailchimp Delete Campaign
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
    - name: campaigns-campaign_id-actions-cancel-send
      path: /campaigns/{campaign_id}/actions/cancel-send
      operations:
      - name: postcampaignsidactionscancelsend
        method: POST
        description: Mailchimp Cancel Campaign
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
    - name: campaigns-campaign_id-actions-create-resend
      path: /campaigns/{campaign_id}/actions/create-resend
      operations:
      - name: postcampaignsidactionscreateresend
        method: POST
        description: Mailchimp Resend Campaign
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
        - name: body
          in: body
          type: object
    - name: campaigns-campaign_id-actions-pause
      path: /campaigns/{campaign_id}/actions/pause
      operations:
      - name: postcampaignsidactionspause
        method: POST
        description: Mailchimp Pause Rss Campaign
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
    - name: campaigns-campaign_id-actions-replicate
      path: /campaigns/{campaign_id}/actions/replicate
      operations:
      - name: postcampaignsidactionsreplicate
        method: POST
        description: Mailchimp Replicate Campaign
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
    - name: campaigns-campaign_id-actions-resume
      path: /campaigns/{campaign_id}/actions/resume
      operations:
      - name: postcampaignsidactionsresume
        method: POST
        description: Mailchimp Resume Rss Campaign
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
    - name: campaigns-campaign_id-actions-schedule
      path: /campaigns/{campaign_id}/actions/schedule
      operations:
      - name: postcampaignsidactionsschedule
        method: POST
        description: Mailchimp Schedule Campaign
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
        - name: body
          in: body
          type: object
          required: true
    - name: campaigns-campaign_id-actions-send
      path: /campaigns/{campaign_id}/actions/send
      operations:
      - name: postcampaignsidactionssend
        method: POST
        description: Mailchimp Send Campaign
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
    - name: campaigns-campaign_id-actions-test
      path: /campaigns/{campaign_id}/actions/test
      operations:
      - name: postcampaignsidactionstest
        method: POST
        description: Mailchimp Send Test Email
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
        - name: body
          in: body
          type: object
          required: true
    - name: campaigns-campaign_id-actions-unschedule
      path: /campaigns/{campaign_id}/actions/unschedule
      operations:
      - name: postcampaignsidactionsunschedule
        method: POST
        description: Mailchimp Unschedule Campaign
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
    - name: campaigns-campaign_id-content
      path: /campaigns/{campaign_id}/content
      operations:
      - name: getcampaignsidcontent
        method: GET
        description: Mailchimp Get Campaign Content
        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: putcampaignsidcontent
        method: PUT
        description: Mailchimp Set Campaign Content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
        - name: body
          in: body
          type: object
          required: true
    - name: campaigns-campaign_id-feedback
      path: /campaigns/{campaign_id}/feedback
      operations:
      - name: getcampaignsidfeedback
        method: GET
        description: Mailchimp List Campaign Feedback
        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: postcampaignsidfeedback
        method: POST
        description: Mailchimp Add Campaign Feedback
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
        - name: body
          in: body
          type: object
          required: true
    - name: campaigns-campaign_id-feedback-feedback_id
      path: /campaigns/{campaign_id}/feedback/{feedback_id}
      operations:
      - name: getcampaignsidfeedbackid
        method: GET
        description: Mailchimp Get Campaign Feedback 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: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
        - name: feedback_id
          in: path
          type: string
          description: The unique id for the feedback message.
          required: true
      - name: patchcampaignsidfeedbackid
        method: PATCH
        description: Mailchimp Update Campaign Feedback Message
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
        - name: feedback_id
          in: path
          type: string
          description: The unique id for the feedback message.
          required: true
        - name: body
          in: body
          type: object
          required: true
      - name: deletecampaignsidfeedbackid
        method: DELETE
        description: Mailchimp Delete Campaign Feedback Message
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
        - name: feedback_id
          in: path
          type: string
          description: The unique id for the feedback message.
          required: true
    - name: campaigns-campaign_id-send-checklist
      path: /campaigns/{campaign_id}/send-checklist
      operations:
      - name: getcampaignsidsendchecklist
        method: GET
        description: Mailchimp Get Campaign Send Checklist
        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: search-campaigns
      path: /search-campaigns
      operations:
      - name: getsearchcampaigns
        method: GET
        description: Mailchimp Search Campaigns
        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: query
          in: query
          type: string
          description: The search query used to filter results.
          required: true
  exposes:
  - type: rest
    namespace: marketing-campaigns-rest
    port: 8080
    description: REST adapter for Mailchimp Marketing API  — Campaigns. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/campaign-folders
      name: campaign-folders
      description: REST surface for campaign-folders.
      operations:
      - method: GET
        name: getcampaignfolders
        description: Mailchimp List Campaign Folders
        call: marketing-campaigns.getcampaignfolders
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          count: rest.count
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postcampaignfolders
        description: Mailchimp Add Campaign Folder
        call: marketing-campaigns.postcampaignfolders
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/campaign-folders/{folder-id}
      name: campaign-folders-folder-id
      description: REST surface for campaign-folders-folder_id.
      operations:
      - method: GET
        name: getcampaignfoldersid
        description: Mailchimp Get Campaign Folder
        call: marketing-campaigns.getcampaignfoldersid
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          folder_id: rest.folder_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchcampaignfoldersid
        description: Mailchimp Update Campaign Folder
        call: marketing-campaigns.patchcampaignfoldersid
        with:
          folder_id: rest.folder_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecampaignfoldersid
        description: Mailchimp Delete Campaign Folder
        call: marketing-campaigns.deletecampaignfoldersid
        with:
          folder_id: rest.folder_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/campaigns
      name: campaigns
      description: REST surface for campaigns.
      operations:
      - method: GET
        name: getcampaigns
        description: Mailchimp List Campaigns
        call: marketing-campaigns.getcampaigns
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          count: rest.count
          offset: rest.offset
          type: rest.type
          status: rest.status
          before_send_time: rest.before_send_time
          since_send_time: rest.since_send_time
          before_create_time: rest.before_create_time
          since_create_time: rest.since_create_time
          list_id: rest.list_id
          folder_id: rest.folder_id
          member_id: rest.member_id
          sort_field: rest.sort_field
          sort_dir: rest.sort_dir
          include_resend_shortcut_eligibility: rest.include_resend_shortcut_eligibility
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postcampaigns
        description: Mailchimp Add Campaign
        call: marketing-campaigns.postcampaigns
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/campaigns/{campaign-id}
      name: campaigns-campaign-id
      description: REST surface for campaigns-campaign_id.
      operations:
      - method: GET
        name: getcampaignsid
        description: Mailchimp Get Campaign Info
        call: marketing-campaigns.getcampaignsid
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          campaign_id: rest.campaign_id
          include_resend_shortcut_eligibility: rest.include_resend_shortcut_eligibility
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchcampaignsid
        description: Mailchimp Update Campaign Settings
        call: marketing-campaigns.patchcampaignsid
        with:
          campaign_id: rest.campaign_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecampaignsid
        description: Mailchimp Delete Campaign
        call: marketing-campaigns.deletecampaignsid
        with:
          campaign_id: rest.campaign_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/campaigns/{campaign-id}/actions/cancel-send
      name: campaigns-campaign-id-actions-cancel-send
      description: REST surface for campaigns-campaign_id-actions-cancel-send.
      operations:
      - method: POST
        name: postcampaignsidactionscancelsend
        description: Mailchimp Cancel Campaign
        call: marketing-campaigns.postcampaignsidactionscancelsend
        with:
          campaign_id: rest.campaign_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/campaigns/{campaign-id}/actions/create-resend
      name: campaigns-campaign-id-actions-create-resend
      description: REST surface for campaigns-campaign_id-actions-create-resend.
      operations:
      - method: POST
        name: postcampaignsidactionscreateresend
        description: Mailchimp Resend Campaign
        call: marketing-campaigns.postcampaignsidactionscreateresend
        with:
          campaign_id: rest.campaign_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/campaigns/{campaign-id}/actions/pause
      name: campaigns-campaign-id-actions-pause
      description: REST surface for campaigns-campaign_id-actions-pause.
      operations:
      - method: POST
        name: postcampaignsidactionspause
        description: Mailchimp Pause Rss Campaign
        call: marketing-campaigns.postcampaignsidactionspause
        with:
          campaign_id: rest.campaign_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/campaigns/{campaign-id}/actions/replicate
      name: campaigns-campaign-id-actions-replicate
      description: REST surface for campaigns-campaign_id-actions-replicate.
      operations:
      - method: POST
        name: postcampaignsidactionsreplicate
        description: Mailchimp Replicate Campaign
        call: marketing-campaigns.postcampaignsidactionsreplicate
        with:
          campaign_id: rest.campaign_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/campaigns/{campaign-id}/actions/resume
      name: campaigns-campaign-id-actions-resume
      description: REST surface for campaigns-campaign_id-actions-resume.
      operations:
      - method: POST
        name: postcampaignsidactionsresume
        description: Mailchimp Resume Rss Campaign
        call: marketing-campaigns.postcampaignsidactionsresume
        with:
          campaign_id: rest.campaign_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/campaigns/{campaign-id}/actions/schedule
      name: campaigns-campaign-id-actions-schedule
      description: REST surface for campaigns-campaign_id-actions-schedule.
      operations:
      - method: POST
        name: postcampaignsidactionsschedule
        description: Mailchimp Schedule Campaign
        call: marketing-campaigns.postcampaignsidactionsschedule
        with:
          campaign_id: rest.campaign_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/campaigns/{campaign-id}/actions/send
      name: campaigns-campaign-id-actions-send
      description: REST surface for campaigns-campaign_id-actions-send.
      operations:
      - method: POST
        name: postcampaignsidactionssend
        description: Mailchimp Send Campaign
        call: marketing-campaigns.postcampaignsidactionssend
        with:
          campaign_id: rest.campaign_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/campaigns/{campaign-id}/actions/test
      name: campaigns-campaign-id-actions-test
      description: REST surface for campaigns-campaign_id-actions-test.
      operations:
      - method: POST
        name: postcampaignsidactionstest
        description: Mailchimp Send Test Email
        call: marketing-campaigns.postcampaignsidactionstest
        with:
          campaign_id: rest.campaign_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/campaigns/{campaign-id}/actions/unschedule
      name: campaigns-campaign-id-actions-unschedule
      description: REST surface for campaigns-campaign_id-actions-unschedule.
      operations:
      - method: POST
        name: postcampaignsidactionsunschedule
        description: Mailchimp Unschedule Campaign
        call: marketing-campaigns.postcampaignsidactionsunschedule
        with:
          campaign_id: rest.campaign_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/campaigns/{campaign-id}/content
      name: campaigns-campaign-id-content
      description: REST surface for campaigns-campaign_id-content.
      operations:
      - method: GET
        name: getcampaignsidcontent
        description: Mailchimp Get Campaign Content
        call: marketing-campaigns.getcampaignsidcontent
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          campaign_id: rest.campaign_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: putcampaignsidcontent
        description: Mailchimp Set Campaign Content
        call: marketing-campaigns.putcampaignsidcontent
        with:
          campaign_id: rest.campaign_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/campaigns/{campaign-id}/feedback
      name: campaigns-campaign-id-feedback
      description: REST surface for campaigns-campaign_id-feedback.
      operations:
      - method: GET
        name: getcampaignsidfeedback
        description: Mailchimp List Campaign Feedback
        call: marketing-campaigns.getcampaignsidfeedback
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          campaign_id: rest.campaign_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postcampaignsidfeedback
        description: Mailchimp Add Campaign Feedback
        call: marketing-campaigns.postcampaignsidfeedback
        with:
          campaign_id: rest.campaign_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/campaigns/{campaign-id}/feedback/{feedback-id}
      name: campaigns-campaign-id-feedback-feedback-id
      description: REST surface for campaigns-campaign_id-feedback-feedback_id.
      operations:
      - method: GET
        name: getcampaignsidfeed

# --- truncated at 32 KB (45 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/mailchimp/refs/heads/main/capabilities/marketing-campaigns.yaml