Build a Voice Agent
Deepgram Voice Agent WebSocket
HandshakeTry it
GET
wss://agent.deepgram.com/v1/agent/converse
Headers
Authorization
API key for authentication. Format should be be either ‘token <DEEPGRAM_API_KEY>’ or ‘Bearer <JWT_TOKEN>’
Send
settings
OR
updateSpeak
OR
injectAgentMessage
OR
functionCallResponseSend
OR
agentKeepAlive
OR
updatePrompt
Receive
functionCallResponseReceive
OR
promptUpdated
OR
speakUpdated
OR
injectionRefused
OR
welcomeMessage
OR
settingsApplied
OR
conversationText
OR
userStartedSpeaking
OR
agentThinking
OR
functionCallRequest
OR
agentStartedSpeaking
OR
agentAudioDone
OR
agentErrorResponse
OR
agentWarning