Flutter Voicebot SDK

View Release Notes →

The Flutter Voicebot SDK is the enx_voice_bot package. It lets a Flutter app place an outbound call to an EnableX Dialogs voice bot and hold a live, two-way voice conversation with it on Android and iOS. The package is headless: it handles the call session, the real-time audio stream, microphone capture, and speaker playback, and reports call, mute, and speaking state through a listener, so you build the call screen yourself.

Documented on the Voicebot UI Kit page

Flutter has a single voice bot package, so the SDK and the Voicebot UI Kit are the same thing. The full developer guide — setup, permissions, configuration, API reference, REST endpoints, usage example, and troubleshooting — lives on the Flutter Voicebot UI Kit page.

Open the Flutter Voicebot guide →
Current version: v1.0.6+7  ·  Released July 24, 2026

v1.0.6+7 changed connect() and moved call setup to REST call control. If you are upgrading from v1.0.6+6 or earlier, see the migration steps. Package: enx_voice_bot on pub.dev.

Quick Start

The minimum to place a call. Each step links to the detailed section of the guide.

1. Add the package

flutter pub add enx_voice_bot

2. Declare the microphone permission

Add INTERNET, RECORD_AUDIO, and MODIFY_AUDIO_SETTINGS to AndroidManifest.xml, and NSMicrophoneUsageDescription to Info.plist. Test on a physical device. See Required Permissions.

3. Create the client and connect

Your call screen implements EnxVoiceListener (see the usage example), then:

import 'package:enx_voice_bot/enx_voice.dart';

final client = EnxVoiceClient()
    .init('911100123457')                    // virtual number to dial
    .setEnxVoiceListener(this)
    .setSdkConfig(EnxSdkConfig.production);

await client.connect();
// ...
await client.disconnect();

In the Guide

TopicSection
Supported Flutter, Dart, Android, and iOS versionsRequirements
QA vs Production, logging, per-call base URLConfiguration
EnxVoiceClient methods and propertiesEnxVoiceClient
Call, mute, error, and speaking-state callbacksEnxVoiceListener
/v2token endpoints and the media WebSocketREST API Reference
Mute, DTMF, and speaking indicatorsUsage Example
Calls that fail to connect or have no audioDeveloper Troubleshooting