Sign in

Create draft campaign

documented

Create a new draft campaign for a client.

POST /api/v3.3/campaigns/{clientid}.{xml|json}Campaignsno 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.createsend.com/api/v3.3/campaigns/{{$clientid}}.json" \
  -X POST \
  -u "{{CAMPAIGNMONITOR_API_KEY}}:" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"Name": "{{$title}}", "Subject": "{{$subject}}", "FromName": "{{$from_name}}", "FromEmail": "{{$from_email}}", "ReplyTo": "{{$reply_to}}", "HtmlUrl": "{{$html_url}}", "TextUrl": "{{$text_url}}", "ListIDs": ["{{$list_id_1}}","{{$list_id_2}}"], "InlineCss": {{$inline_css}} }'