Add campaign
documentedCreate a new Mailchimp campaign.
POST /campaignsCampaignsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl 'https://{{$server}}.api.mailchimp.com/3.0/campaigns' \
-X POST \
-H 'Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{"type": "{{$type}}", "recipients": {"list_id": "{{$list_id}}"}, "settings": {"subject_line": "{{$subject_line}}", "from_name": "{{$from_name}}", "reply_to": "{{$reply_to}}", "title": "{{$title}}"}}'