neerajjoshi_
04/09/2026, 6:17 AMAI Evy
04/09/2026, 6:17 AMAI Evy
04/09/2026, 6:17 AMAI Evy
04/09/2026, 6:17 AMAI Evy
04/09/2026, 6:17 AMAK
04/09/2026, 6:18 AMneerajjoshi_
04/09/2026, 6:21 AMneerajjoshi_
04/09/2026, 6:24 AMAI Evy
04/09/2026, 6:24 AMAI Evy
04/09/2026, 6:24 AMAI Evy
04/09/2026, 6:24 AMAI Evy
04/09/2026, 6:24 AMneerajjoshi_
04/09/2026, 6:28 AMAI Evy
04/09/2026, 6:28 AMAI Evy
04/09/2026, 6:28 AMAI Evy
04/09/2026, 6:28 AM{your-server-websocket-endpoint}/{call_id} [(2) ]() .
2. WebSocket Protocol Implementation
You need to handle these event types from Retell:
- update_only events: Real-time transcript updates
- response_required events: When Retell needs a response from your LLM
- reminder_required events: When the user hasn't spoken for a while
- ping_pong events (optional) : For connection health checks
3. LLM Integration and Response Generation [(3) ]()
You're responsible for connecting to your chosen LLM provider (OpenAI, Azure OpenAI, etc.) and generating responses . This includes managing the prompt engineering and conversation context .
4. Response Streaming [(2) ]() [(3) ]()
You must send responses back to Retell in the correct format, including streaming partial responses for lower latency [(2) ]() . Each response needs these fields: response_type, response_id, content, content_complete, and end_call .
5. Latency Optimization [(4) ](AI Evy
04/09/2026, 6:28 AMAI Evy
04/09/2026, 6:28 AMAI Evy
04/09/2026, 6:28 AMneerajjoshi_
04/09/2026, 6:31 AMAI Evy
04/09/2026, 6:31 AMAI Evy
04/09/2026, 6:32 AMAI Evy
04/09/2026, 6:32 AMAI Evy
04/09/2026, 6:32 AMAI Evy
04/09/2026, 6:32 AMneerajjoshi_
04/09/2026, 6:42 AMAI Evy
04/09/2026, 6:42 AMAI Evy
04/09/2026, 6:42 AMAI Evy
04/09/2026, 6:42 AMAI Evy
04/09/2026, 6:42 AMneerajjoshi_
04/09/2026, 6:49 AMAI Evy
04/09/2026, 6:49 AMAI Evy
04/09/2026, 6:50 AMAI Evy
04/09/2026, 6:50 AMAI Evy
04/09/2026, 6:50 AMneerajjoshi_
04/09/2026, 7:03 AMAI Evy
04/09/2026, 7:03 AMAI Evy
04/09/2026, 7:03 AMtrue to enable backchannel (defaults to false) [(1) ]() [(2) ]() [(3) ]()
**`backchannel_frequency`**: Controls how often backchannel triggers when possible, ranging from 0 (never) to 1 (always) . Default is 0.8
**`backchannel_words`**: Customize which words the agent uses for backchannel (like "yeah", "uh-huh") . If not set, default words apply based on language and voice provider
The feature works by having the agent interject with phrases during user speech to show interest and engagement . Backchannel tends to appear more in longer user utterances [(2) ]() [(3) ]() .
If you're not seeing it in the dashboard UI, you can still configure it through the [Update Voice Agent]() API endpoint [(2) ]() .AI Evy
04/09/2026, 7:03 AMAI Evy
04/09/2026, 7:03 AMAI Evy
04/09/2026, 7:04 AM