Build withVoiceCosmos APIs

Powerful voice AI, CRM integration, and booking automation APIs.Build the future of conversational business.

120+
API Endpoints
99.9%
Uptime SLA
<200ms
Response Time
6+
Developer SDKs

Developer Resources

Everything you need to integrate VoiceCosmos into your applications

Documentation

API Reference

Complete API documentation with examples

Learn More
Tutorial

Quickstart Guide

Get up and running in 5 minutes

Learn More
Examples

Code Examples

Real-world implementation examples

Learn More
Integration

Webhook Guide

Set up real-time event notifications

Learn More
Tools

SDKs & Libraries

Official SDKs for popular languages

Learn More
Monitoring

Status Page

API uptime and service status

Learn More

API Reference

Comprehensive documentation for all VoiceCosmos API endpoints

POST/api/voice/transcribe

Transcribe voice recording to text

Parameters

audio_filelanguage

Response

transcript, confidence, language_detected
POST/api/voice/synthesize

Convert text to speech

Parameters

textvoice_idlanguage

Response

audio_url, duration, voice_model
GET/api/voice/assistants

List available voice assistants

Parameters

industrylanguage

Response

assistants[], total_count

Code Examples

Real-world implementation examples to get you started quickly

Voice Transcription

Transcribe audio using the Voice AI API

// Voice transcription example
const transcribeAudio = async (audioFile) => {
  const formData = new FormData();
  formData.append('audio_file', audioFile);
  formData.append('language', 'en');

  const response = await fetch('/api/voice/transcribe', {
    method: 'POST',
    headers: {
      'Authorization': `Bearer ${accessToken}`,
    },
    body: formData
  });

  const result = await response.json();
  console.log('Transcript:', result.transcript);
  console.log('Confidence:', result.confidence);
  return result;
};

Official SDKs

Production-ready SDKs for your favorite programming languages

🟨

JavaScript/TypeScript

v2.1.4

Official SDK for web applications and Node.js

Full TypeScript support
Promise-based API
Built-in retry logic
Real-time events
npm install @voicegeni/sdk
🐍

Python

v1.8.2

Python SDK for backend integrations

Async/await support
Pandas integration
Django/Flask helpers
CLI tools
pip install voicegeni
💎

Ruby

v1.5.1

Ruby gem for Rails applications

Rails generators
ActiveRecord models
Background jobs
Webhook helpers
gem install voicegeni
🐘

PHP

v1.3.0

PHP library for Laravel and custom apps

Laravel service provider
Composer support
PSR-4 autoloading
Error handling
composer require voicegeni/php-sdk

Ready to Start Building?

Get your API key and start integrating VoiceCosmos into your application today

Free tier includes 1,000 API calls per month • No credit card required