AI
Create a new ai.
Changed onCreates a new ai and returns the created ai's details.
post/ais
Request
- Base URLhttps://api.voipbin.net/v1.0
- URLhttps://api.voipbin.net/v1.0/ais
- Authnone declared
Request body
Example request
{
"type": "normal",
"engine_model": "openai.gpt-5",
"engine_base_url": "https://llm.example.com/v1",
"stt_language": "en-US",
"vad_config": {
"confidence": 0.7,
"start_secs": 0.2,
"stop_secs": 0.5,
"min_volume": 0.6
},
"tool_names": [
"connect_call"
],
"mcp_server_ids": []
}Response
Details of the created ai.
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"customer_id": "7c4d2f3a-1b8e-4f5c-9a6d-3e2f1a0b4c5d",
"name": "Customer Support Bot",
"detail": "AI assistant for handling customer inquiries",
"type": "normal",
"engine_model": "openai.gpt-5",
"has_engine_key": true,
"engine_base_url": "https://llm.example.com/v1",
"rag_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"init_prompt": "You are a helpful customer support assistant.",
"current_prompt_history_id": "00000000-0000-0000-0000-000000000000",
"tts_type": "elevenlabs",
"tts_voice_id": "en-US-Neural2-F",
"stt_type": "deepgram",
"stt_language": "en-US",
"vad_config": {
"confidence": 0.7,
"start_secs": 0.2,
"stop_secs": 0.5,
"min_volume": 0.6
},
"tool_names": [
"all"
],
"mcp_server_ids": [],
"direct_hash": "direct.a1b2c3d4e5f6",
"tm_create": "2026-01-15T09:30:00.000000Z",
"tm_update": "2026-01-15T09:30:00.000000Z",
"tm_delete": "2026-01-15T09:30:00.000000Z"
}Changes
- warning
removed the optional property
from the response with the status
- warning
- info
added the optional property
to the response with the status
- info