Sign in

Add calls to batch

documented

Add call recipients to a batch.

POST /v2/campaigns/batches/{id}/callsCampaignsno 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.callfire.com/v2/calls" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Basic {{CALLFIRE_SECRET}}" \
  -d '{"campaignId": {{$campaignId}}, "batchId": {{$batchId}}, "fromNumber": "{{$fromNumber}}", "recipients": [ {"phoneNumber": "{{$toNumber}}", "attributes": {"custom_external_id": {{$customExternalId}}} } ], "defaultLiveMessage": "{{$defaultLiveMessage}}"}'