Create outbound call
documentedInitiate an outbound call from the target account.
POST /v3/a/{account_id}/calls.jsonAccountsno 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.callrail.com/v3/a/{{$account_id}}/calls.json" \
-X POST \
-H "Authorization: Token token={{CALLRAIL_API_KEY}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"caller_id": "{{$caller_id}}",
"customer_phone_number": "{{$customer_phone_number}}",
"business_phone_number": "{{$business_phone_number}}",
"recording_enabled": {{$recording_enabled}},
"outbound_greeting_recording_url": "{{$outbound_greeting_recording_url}}",
"outbound_greeting_text": "{{$outbound_greeting_text}}",
"agent_id": "{{$agent_id}}"
}'