Voice Widget
Let website visitors talk to your voice agent directly from the browser — no phone number needed. The voice widget adds a call button to your site that connects users via WebRTC for real-time voice conversations.Quick Setup
Add the voice widget to any webpage by setting thedata-widget-type to "voice":
How It Works
Combined Chat + Voice Widget
Deploy both chat and voice on the same page — the embed widget supports a combined mode:Custom Integrations (JavaScript SDK)
If you’d like to build a completely custom voice UI rather than use the drop-in widget, you can use our dedicated Voice SDK.Installation
Basic Usage
React Example
For React applications building custom voice interfaces:Browser Requirements
| Browser | Supported | Notes |
|---|---|---|
| Chrome 74+ | Yes | Full support |
| Firefox 66+ | Yes | Full support |
| Safari 14.1+ | Yes | Requires user gesture to start |
| Edge 79+ | Yes | Full support |
| Mobile Chrome | Yes | Works on Android |
| Mobile Safari | Yes | iOS 14.5+ |
Permissions
The browser will ask for microphone permission on the first call. Users must grant access for the voice SDK to work.Audio Quality
The voice engine uses:- Opus codec for efficient audio compression
- Echo cancellation built into WebRTC
- Noise suppression for cleaner input
- Adaptive bitrate based on network conditions
vs Phone Calls
| Feature | Voice Widget | Phone Calls |
|---|---|---|
| Setup | Script tag on website | Twilio/Vobiz number |
| Cost | No telephony charges | Per-minute carrier rates |
| Reach | Website visitors only | Anyone with a phone |
| Quality | High (WebRTC) | Standard (PSTN) |
| Lead capture | Session-based | Phone number captured |
| Mobile | Works in mobile browsers | Native phone experience |

