Sign in

Create campaign

documented

Create an email/SMS/Viber/web-push 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://api.sendpulse.com/campaigns" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"sender_name": "{{$sender_name}}", "sender_email": "{{$sender_email}}", "subject": "{{$subject}}", "body": "{{$body}}", "template_id": "{{$template_id}}", "list_id": {{$list_id}}}'