Integration guide

8x8 AI Voice Agent: TTS Integration Guide (2026)

Add Fish Audio speech to 8x8 Voice API callflows with pre-rendered prompts, playFile audio and webhook-driven voice agents.

Nov 9, 2026 Updated Nov 9, 2026

An 8x8 AI voice agent is usually built from 8x8 Voice API callflows plus an external service. Fish Audio fits as the voice that generates branded prompts and, where the architecture allows, the speech inside an external agent. 8x8 does not document a native Fish Audio TTS connector, and its say action uses 8x8 voice profiles rather than arbitrary provider voices.

The reliable pattern is simple: native say for generic prompts, Fish Audio-rendered playFile audio for branded lines, and webhooks for the dynamic steps.

A cream desk phone and sculpted eight-tile grid beside a small headset connected by a coral voice ribbon and mint routed-call light

What does 8x8 provide versus Fish Audio?

8x8 provides:

  • Voice API callflows and virtual numbers.
  • say for native TTS with 8x8 voice profiles.
  • sayAndCapture for DTMF IVR prompts.
  • playFile for hosted MP3 or WAV audio.
  • Webhooks for call actions, session summaries, call status and number updates.

Fish Audio provides:

  • Speech to text and streaming text to speech inside your service.
  • A reusable or cloned voice, with authorization.
  • API access for synthesis.

For static prompts, the boundary is a file. For a live agent, the boundary is your service and the webhook flow.

What are the two integration paths?

PathWhat it doesCustom Fish Audio voice?
Native say8x8 generates speech from text with a voice profileNo
playFile8x8 plays a hosted MP3 or WAV fileYes, pre-rendered
Webhook-driven external agentYour service receives call actions and returns the next stepYes, with your own runtime

The 8x8 Voice API documentation is the source of truth for action names, voice profiles and webhook behavior.

How does the pre-rendered playFile flow work?

  1. Write the prompt from the approved script.
  2. Generate the audio with Fish Audio.
  3. Export MP3 or WAV and host it at a stable HTTPS URL.
  4. Use playFile in the callflow instead of say.
  5. Test the full call, including hold music and DTMF timing.

Keep the text, voice ID and file together in version control. When the script changes, generate a new file and update the URL or path.

playFile is the cleanest way to use a custom Fish Audio voice on 8x8 without claiming a native TTS integration.

How does a dynamic flow work?

  1. Call starts. makeCall opens the voice session.
  2. Prompt plays. say or playFile reads the menu.
  3. Input is captured. sayAndCapture collects DTMF digits.
  4. Webhook fires. 8x8 calls your VCA endpoint with the captured input.
  5. Your service decides. Return the next callflow step, a bridge or a hangup.
  6. Session outcome arrives. Use VSS as the authoritative final record.

The initial Send Callflow response only confirms that the request was accepted. Do not treat it as proof that the call completed; use the Session Summary webhook.

What are the limits?

8x8 documents callflow actions and a Voice Profile API, but the public introduction does not list a custom external TTS provider or arbitrary voice upload. Plan around that:

  • Native say voices come from the 8x8 catalog.
  • playFile accepts MP3 or WAV at an HTTP/HTTPS URL.
  • The public page does not document prompt length, file size, DTMF count or timeout limits; verify them in the current reference.
  • Real-time media streaming is not documented on the same page as the callflow actions. Do not assume a media stream exists.

What are the common failure modes?

FailureSafe fallback
playFile URL is unreachableFall back to a native say prompt
Audio file is in the wrong formatRe-export as MP3 or WAV and retest
DTMF input is missedReprompt once, then route to a human
VCA webhook times outReturn a safe fallback step or hang up gracefully
Send Callflow is accepted but the call failsUse VSS to determine the real outcome
Caller needs a complex answerTransfer to a human or callback
Voice changes mid-flowStandardize on one voice for branded prompts

Which metrics should you track?

MetricWhat it tells you
Prompt playback failuresWhether hosted files are reliable
VCA response latencyWhether the flow feels responsive
DTMF capture rateWhether the IVR is understandable
Transfer success rateWhether the handoff works
Call completion rateWhether the flow finishes the task
File cache or CDN hit rateWhether hosting is efficient
Cost per callSpeech plus 8x8 plus hosting

How much does the speech layer cost?

Natural speech is roughly 150 words per minute, close to 900 characters. One Fish Audio credit covers about 1,000 characters, so agent speech starts near one credit per minute before retries or longer prompts.

PackPriceCreditsApproximate agent speech
Starter$91,000About 16 hours
Creator$294,000About 66 hours, plus commercial rights
Studio$9915,000About 250 hours, plus API access

8x8 numbers, call minutes, hosting and the agent runtime remain separate. The TTS API pricing guide converts characters into a full budget.

Key takeaways

  • 8x8 say uses native voice profiles; Fish Audio is not a native 8x8 voice.
  • Use Fish Audio to pre-render branded prompts and play them with playFile.
  • Drive dynamic steps with the VCA webhook and confirm outcomes with VSS.
  • Keep prompt text and audio files versioned together.
  • Do not assume real-time media streaming or arbitrary voice upload.
  • Test DTMF, transfers and file hosting on the real call path.

Frequently asked questions

Does 8x8 support custom text to speech?

8x8 Voice API callflows support native TTS through the say action with 8x8 voice profiles, and playFile for hosted MP3 or WAV audio. A custom Fish Audio voice is used as a pre-rendered file, not as a native 8x8 TTS voice.

Can Fish Audio generate the prompts for an 8x8 flow?

Yes. Generate the audio with Fish Audio, export MP3 or WAV, host it at an HTTPS URL and play it with the playFile action. Keep the source text and file versioned together.

Can Fish Audio power a live 8x8 voice agent?

Use an external agent service with an 8x8 callflow and webhook path. There is no native Fish Audio connector inside 8x8, and real-time media streaming is not documented in the same way as the callflow actions.

Which 8x8 webhooks matter for voice agents?

The Voice Call Action webhook drives the next step after DTMF capture, the Session Summary webhook reports the final outcome, and Call Status and Virtual Number Updated webhooks provide telemetry and number lifecycle events.

How much does the speech layer cost?

At roughly 150 words per minute, one minute of agent speech is about one Fish Audio credit. 8x8 numbers, call minutes, hosting and the agent runtime are separate costs.

8x8 AI Voice Agent: TTS Integration Guide (2026)