Sign in

Campaign action

documented

Perform an action on a campaign (e.g., schedule, send).

POST /campaigns/:id/actions/:actionCampaigns (Classic)no 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://api.mailerlite.com/api/v2/campaigns/{{$id}}/actions/{{$action}}" \
  -X POST \
  -H "X-MailerLite-ApiKey: {{MAILERLITE_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"type": {{$type}}, "followup_schedule": "{{$followup_schedule}}", "analytics": {{$analytics}}, "date": "{{$date}}", "timezone_id": {{$timezone_id}}, "followup_date": "{{$followup_date}}", "followup_timezone_id": {{$followup_timezone_id}}}'