reuse_campaign_id replaces settings and recipients atomically only on an owned, never-launched voice draft or scheduled campaign. A launch claim prevents replacement. SMS creation always generates a fresh ID, even if the request forwards this field. Omit it for SMS. NOT OFFERED → do this instead · campaign A launched or finished campaign cannot run again. For another run create a campaign with a fresh ID, selected recipients and reviewed settings. The dashboard’s Use again button follows the same rule for voice: it edits a campaign that never launched, otherwise it opens a new campaign filled with the original settings and recipients for review before launch. SMS campaigns have no Use again button. YOU CAN CHANGE · campaign Use schedule_type=schedule, scheduled_date (YYYY-MM-DD), timezone, window_days and optional paired window_start_minutes/window_end_minutes. UTC date checks, local windows and capacity apply. SCOPE · campaign
DELETE /v1/calls/batch/{id} deletes a voice campaign. Voice and SMS have separate cancel routes. Cancel stops future work. Running attempts may finish.
For one owned sender, send business_number (encode + as %2B) on GET /v1/campaigns or GET /v1/sms/campaigns. Omit for account scope. Keep the same number and status through SMS cursors. Restart paging if either changes. Voice include_totals=true covers returned campaigns only (default 50, max 200).
Pickup rate = answered attempts / all attempts, including failed starts. Answered means over five seconds with no detected voicemail. Sum counts before dividing. Zero attempts means no rate. SMS delivery rate = delivered / (delivered + failed).
Read the compact AI rules
Prepare a voice campaign as executable work: validate recipients and sending choices before creating it.
Input: Reviewed recipient rows ·
Creation: Can launch calls ·
Recovery: Saved campaign ID
The important part
- You can choose a date and sending window. There is no exact-minute dispatch field. Voice campaign creation describes the supported fields and when you can replace recipients.
- Default now mode requests launch immediately; scheduled work can launch when due.
- Duplicate warnings do not block dispatch or provide request idempotency.
- Save campaign_id even when creation succeeds but launch is refused or uncertain.
Prepare each recipient
Choose an active owned agent and an eligible owned sender. Provide a nonblank campaignprompt. Each recipient needs an E.164 phone; put template values inside its variables object. Use prompt_override only when that row deliberately needs different instructions.
Set known country and IANA timezone values for each recipient. A campaign time zone does not fill an unknown recipient location. Preview contact hours and record permission to contact the people before creating work.
Choose duplicates and timing
There is no public draft-only flag.
duplicate_choice_required is advisory, not a safe sending lock. If wider hours are requested, supply the required explanation; consent, suppression, recipient-local policy and capacity checks still apply at dispatch.
Build the request before sending
This is a request-body illustration for POST /calls/batch, with fictional IDs and numbers. It is not a runnable test fixture. Replace every identifier, date and contact choice deliberately; scheduled work can contact recipients when due.Submit once and retain the result
Create the campaign once with automatic write retries disabled. Savecampaign_id, accepted/rejected row counts and current state. Immediate launch may return queued, failed and legacy dialed; dialed counts enqueued jobs, not connected calls.
reuse_campaign_id can replace an owned never-launched draft or scheduled voice campaign. It is not an idempotency key and cannot safely replay an unknown launch.