cURL
curl --request POST \ --url https://prod-contactswing-fastapi-962560522883.us-central1.run.app/v2/_voicecalls/{agent_id}/makeCall \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "agent_id": "<string>" } '
{ "ctx_id": "<string>", "data": { "call_id": "<string>", "status": "<string>", "agent_id": "<string>" }, "message": "<string>" }
Initiate an outbound voice call using the specified AI agent.
+1234567890
John Doe
Appointment confirmation
{ "phone_number": "+1234567890", "customer_name": "John Doe", "call_purpose": "Follow-up appointment" }