Sign in

Create a campaign

documented

Create a campaign.

POST /campaignsCampaignsno implementation yet0 runs
No 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://connect.mailerlite.com/api/campaigns" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-MailerLite-ApiKey: {{MAILERLITE_API_KEY}}" \
  -d '{"name": "{{$name}}", "language_id": {{$language_id}}, "type": "regular", "emails": [{"subject": "{{$subject}}","from_name": "{{$from_name}}","from": "{{$from_email}}","reply_to": "{{$reply_to}}"}]}'