Service Agent
Create an aicall
Creates 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.
post/service_agents/aicalls
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"
}