static-pinkS
VAPI7mo ago
static-pink

Error when creating a custom TTS integration

Patching my assistant with the following voice configuration, according to the docs
{
    "voice": {
        "server": {
            "url": "https://WEBHOOK_URL",
            "secret": "SECRET",
            "headers": {
                "Content-Type": "application/json",
                "X-API-Version": "v1"
            },
            "timeoutSeconds": 45
        },
        "provider": "custom-voice",
        "fallbackPlan": {
            "voices": [
                {
                    "model": "gpt-4o-mini-tts",
                    "voiceId": "shimmer",
                    "provider": "openai",
                    "instructions": "Speak in calm and professional tone. "
                }
            ]
        }
    }
}


Cannot access the assistant in the dashboard:
Error: TypeError
Message: Cannot read properties of undefined (reading 'models')


Tried also removing the
secret
field, and add a custom header instead, but without success.
Learn to integrate your own text-to-speech system with VAPI
Was this page helpful?