Create campaign batch
documentedCreate a new batch for a campaign.
POST /v2/campaigns/batchesCampaignsno 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.callfire.com/v2/campaigns/batches" \
-X POST \
-H "Authorization: Basic {{CALLFIRE_BASIC_AUTH}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "recipients": [{"phoneNumber": "{{$recipient_phone}}"}, {"contactId": {{$recipient_contact_id}}}], "scrubDuplicates": {{$scrub_duplicates}}, "contactListId": {{$contact_list_id}} }'