Custom TTS Issue

Hi! I'm trying to use a custom TTS provider with Vapi (via their web widget).

  • I'm running a FastAPI server exposed publicly via a tunnel (tested via curl, works).
  • Endpoint: POST /synthesize (prints incoming requests).
  • Server runs with: `uvicorn main:app --host 0.0.0.0 --port 8000 --reload`
  • Custom TTS Provider
  • Custom URL: https://<my-tunnel>.loca.lt/tts (confirmed it's correct)
  • Saved the agent after setting this
  • Using correct assistantID(e5eec97d-3f5d-4bdc-bf57-d479ead77a1a) in the script
  • Microphone access is allowed
  • Widget is rendered and starts listening
  • My FastAPI server never receives any request from Vapi
  • There are no errors shown in browser console or FastAPI logs
  • Widget just ends call after a few seconds with "Meeting has ended
Here's the screenshot of console



Any ideas or things I might be missing? I can share my FastAPI code and curl response if needed. Thanks in advance!
Screenshot_2025-07-24_at_5.59.17_PM.png
Was this page helpful?