Build a Voice Agent

Deepgram Voice Agent WebSocket

Handshake

GET

Headers

AuthorizationstringRequired

API key for authentication. Format should be be either ‘token <DEEPGRAM_API_KEY>’ or ‘Bearer <JWT_TOKEN>’

Send

settingsConfigurationobject
OR
updateInstructionsobject
OR
updateSpeakobject
OR
injectAgentMessageobject
OR
functionCallResponseobject
OR
agentKeepAliveobject

Receive

injectionRefusedobject
OR
welcomeMessageobject
OR
settingsAppliedobject
OR
ConversationTextobject
OR
userStartedSpeakingobject
OR
agentThinkingobject
OR
functionCallRequestobject
OR
functionCallingobject
OR
agentStartedSpeakingobject
OR
agentAudioDoneobject
OR
agentErrorResponseobject
Built with