Create power campaign
documentedCreate a new power campaign
POST /v1/power_campaign/create/Call Center Campaignsno implementation yet0 runsNo 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.callhub.io/v1/power_campaign/create/" \
-X POST \
-H "Authorization: Token {{CALLHUB_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "description": "{{$description}}", "contact_list_id": "{{$contact_list_id}}", "caller_id": "{{$caller_id}}", "time_zone": "{{$time_zone}}", "dialer": "power", "script": {"text": "{{$script_text}}"}, "settings": {"pause_between_calls": "{{$pause_between_calls}}", "record_calls": "{{$record_calls}}"}}'