Create an aicall
Changed onCreates a new AI call for the service agent's customer and returns the created aicall's details. An activeflow is automatically created and associated with the new AI call. reference_type must be one of call, conversation, contact_case, or an empty string (no reference; reference_id is then ignored). For the other types the referenced resource must belong to the caller's customer. An unsupported reference_type returns 400; a reference that does not exist or does not belong to the caller's customer returns 404.
Request
- Base URLhttps://api.voipbin.net/v1.0
- URLhttps://api.voipbin.net/v1.0/service_agents/aicalls
- Authnone declared
Request body
Example request
{
"assistance_type": "ai",
"assistance_id": "550e8400-e29b-41d4-a716-446655440000",
"reference_type": "call",
"reference_id": "5e4a0680-804e-11ec-8477-2fea5968d85b"
}Response
The created aicall details.
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"customer_id": "7c4d2f3a-1b8e-4f5c-9a6d-3e2f1a0b4c5d",
"assistance_type": "ai",
"assistance_id": "550e8400-e29b-41d4-a716-446655440000",
"ai_engine_model": "openai.gpt-5",
"ai_tts_type": "elevenlabs",
"ai_tts_voice_id": "21m00Tcm4TlvDq8ikWAM",
"ai_stt_type": "deepgram",
"ai_vad_config": {
"confidence": 0.7,
"start_secs": 0.2,
"stop_secs": 0.5,
"min_volume": 0.6
},
"parameter": {
"language": "en-US",
"department": "support"
},
"activeflow_id": "550e8400-e29b-41d4-a716-446655440000",
"reference_type": "call",
"reference_id": "550e8400-e29b-41d4-a716-446655440000",
"confbridge_id": "550e8400-e29b-41d4-a716-446655440000",
"current_member_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "progressing",
"stt_language": "en-US",
"tm_end": "2026-01-15T09:30:00.000000Z",
"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
- info
added the non-success response with the status
- info
- info
removed the
gemini.gemini-2.0-flashenum value from theresponse property for the response status - info
removed the
gemini.gemini-2.5-flashenum value from theresponse property for the response status - info
removed the
gemini.gemini-2.5-proenum value from theresponse property for the response status - info
removed the
gemini.gemini-pro-latestenum value from theresponse property for the response status - info
removed the
grok.grok-3enum value from theresponse property for the response status - info
removed the
grok.grok-3-minienum value from theresponse property for the response status - info
removed the
openai.gpt-5enum value from theresponse property for the response status - info
removed the
openai.gpt-5-minienum value from theresponse property for the response status - info
removed the
openai.gpt-5-nanoenum value from theresponse property for the response status - info
removed the
openai.gpt-5.1enum value from theresponse property for the response status - info
removed the
openai.gpt-5.2enum value from theresponse property for the response status
- info