Skip to main content
POST /_voicecalls/{agent_id}/makeCall Initiate an outbound voice call using the specified AI agent. Path Parameters:
  • agent_id (integer, required) - ID of the AI agent to handle the call.
Request Body:
  • phone_number (string, required) - Phone number in E.164 format
  • customer_name (string, optional) - Name of the person being called
  • call_purpose (string, optional) - Purpose or reason for the call
Response:
  • 200: Call initiated successfully
  • 400: Invalid request parameters
  • 401: Unauthorized
  • 500: Internal server error