API Reference
Integrate Clarte voice capabilities into your applications with our simple REST API
Low Latency
Sub-100ms response times for real-time conversations
Secure
Enterprise-grade security with end-to-end encryption
Global CDN
Deployed worldwide for minimal latency everywhere
Quick Start
import Clarte from '@clarte/sdk';
const clarte = new Clarte({
apiKey: process.env.CLARTE_API_KEY,
});
// Start a voice conversation
const conversation = await clarte.conversations.create({
voice: 'jane',
context: 'Customer support assistant',
});
// Send a message
const response = await conversation.send({
text: 'Hello, how can I help you today?',
});
console.log(response.audio_url);Endpoints
POST
/v1/conversationsPOST
/v1/conversations/:id/messagesGET
/v1/conversations/:idGET
/v1/voicesPOST
/v1/audio/transcribePOST
/v1/audio/synthesizeReady to Build?
Get your API key and start building voice-powered applications in minutes.