Sign in

Create Campaign (v2.0)

documented

Create a new email campaign (v2.0).

POST /api/v3/campaign.create/jsonEmail Campaign Managementno 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.sendloop.com/api/v3/campaign.create/json" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "X-Api-Key: {{SENDLOOP_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name":"{{$campaign_name}}", "subject":"{{$subject}}", "from_name":"{{$from_name}}", "from_email":"{{$from_email}}", "list_id":"{{$list_id}}", "html_content":"{{$html_content}}", "text_content":"{{$text_content}}", "template_id":"{{$template_id}}", "send_at":"{{$send_at}}"}'