cURL
curl --request POST \ --url https://api.openmic.ai/v1/create-phone-call \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "from_number": "+1234567890", "to_number": "+0987654321", "override_agent_id": "bvrg8wzi487w02m2bc7dh0ev", "customer_id": "customer_001" }'
{ "call_type": "phonecall", "from_number": "+1234567890", "to_number": "+0987654321", "direction": "outbound", "call_id": "cmbbvrg8wzi487w02m2bc7dji", "agent_id": "bvrg8wzi487w02m2bc7dh0ev", "call_status": "registered", "customer_id": "customer_001" }
Create a new outbound phone call.
Bearer token authentication using API key. Find it at: https://chat.openmic.ai/api-key
https://chat.openmic.ai/api-key
Call creation details
The body is of type object.
object
Call created successfully
The response is of type object.