Vapi
Connect an agent to phone calls through Vapi’s Voice AI platform. Vapi is connected per agent in the Channels tab of the agent builder. Vapi handles speech-to-text and text-to-speech, while your TeamMate agent powers the conversation in Custom LLM mode.
Prerequisites
- A saved agent (the Channels tab is locked until the agent is saved).
- A Vapi account and an API key from the Vapi dashboard .
- Optionally, a phone number in Vapi (or one brought in via Twilio/Vonage).
Fields
| Field | Notes | Required |
|---|---|---|
| Vapi API Key | Vapi Dashboard → API Keys | Yes |
| Phone Number | E.164 format, for display | No |
| Greeting Message | Spoken first when a call is answered | Yes |
| Voice Provider | ElevenLabs, PlayHT, Deepgram, or OpenAI | No (defaults provided) |
| Voice ID | Specific voice from your provider | No |
| Speech-to-Text Provider | Deepgram, Gladia, or Talkscriber | No (defaults provided) |
How to connect
- Enter the API keyIn the agent’s Channels tab, open Vapi → Configure and paste your Vapi API key.
- Set voice and greetingChoose the greeting, voice provider, and speech-to-text provider.
- Configure the Vapi assistantIn the Vapi dashboard, create or edit an assistant, set the model provider to Custom LLM, and paste TeamMate’s Custom LLM URL.
- Set the server URLIn the assistant’s advanced settings, paste TeamMate’s Server URL for call events.
- Assign a phone numberLink a phone number to the assistant in Vapi’s Phone Numbers section.
- Test the callUse Call Me in the Testing step, or call your Vapi number directly.
URLs TeamMate provides:
- Custom LLM URL (required):
https://tmmate.ai/api/webhook/vapi/<agentId>/chat/completions— receives transcribed speech and returns the agent’s responses. - Server URL (events):
https://tmmate.ai/api/webhook/vapi/<agentId>— receives call lifecycle events. - Dynamic Assistant URL (optional):
https://tmmate.ai/api/webhook/vapi/<agentId>/assistant-request.
What the agent can do
- Answer inbound calls and place outbound calls.
- Hold a natural voice conversation, powered by your agent’s model.
Troubleshooting
- No conversation on the call. Confirm the assistant’s model provider is set to Custom LLM and the Custom LLM URL is pasted exactly.
- Test call fails. Re-check the API key, and make sure a phone number is assigned to the assistant in Vapi.