AI
Terminate a specific ai call
Terminates an active AI call identified by its ID. The call must be in a progressing state. Use this endpoint to end an ongoing AI call session before it completes naturally.
post/aicalls/{id}/terminate
Path parameters
idstring uuid required
Example:11111111-1111-1111-1111-111111111111
The ID of the ai call to terminate.
Response
The aicall was successfully terminated.
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"
}