POST
/
v1
/
create-phone-call
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"
}

Authorizations

Authorization
string
header
required

Bearer token authentication using API key. Find it at: https://chat.openmic.ai/api-key

Body

application/json

Call creation details

The body is of type object.

Response

201
application/json

Call created successfully

The response is of type object.