Everything you need to integrate Voxera into your applications.
Learn the basics of Voxera and get up and running quickly.
Understand the fundamental concepts behind Voxera.
Complete reference documentation for all API endpoints.
Step-by-step guides for common use cases.
Start in Minutes
import { Voxera } from '@voxera/sdk-core';
// Initialize the client
const voxera = new Voxera({
apiKey: 'your-api-key',
region: 'us-east-1',
});
// Create a voice session
const session = await voxera.createSession({
language: 'en-US',
voice: 'voxera-natural-1',
aiModel: 'gpt-4',
systemPrompt: 'You are a helpful customer service agent.',
});
// Handle real-time transcription
session.on('transcript', (event) => {
console.log('Transcription:', event.text);
console.log('Confidence:', event.confidence);
});
// Handle AI responses
session.on('response', (event) => {
console.log('AI Response:', event.text);
});
// Start the session
await session.start();
// Send audio data
session.sendAudio(audioBuffer);
// Speak a message
await session.speak('Hello! How can I help you today?');Our team is here to help you succeed with Voxera.