Create VB campaign
documentedCreate a voice broadcast campaign
POST /v1/vb_campaignVoice Broadcastsno 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/vb_campaign" \
-X POST \
-H "Authorization: Token {{CALLHUB_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "template_id": "{{$template_id}}", "contact_lists": ["{{$contact_list_id}}"], "start_time": "{{$start_time}}", "time_zone": "{{$time_zone}}", "caller_id_number": "{{$caller_id}}", "settings": {"retry_attempts": {{$retry_attempts}}, "do_not_call": {{$do_not_call}}, "dialer": "{{$dialer}}"}}'