Quick Start Guide
This guide walks you through creating a real-time voice translation session using the Kallglot API.Prerequisites
Get an API Key
Create your developer account at kallglot.com, then generate an API key in the Developer Portal.
Base URLs
| Environment | Base URL |
|---|---|
| REST API | https://api.kallglot.com/v1 |
| WebSocket | wss://api.kallglot.com/v1 |
Create a Session
A session establishes a real-time voice connection with Kallglot. Here’s how to create one:Response
Connect to the WebSocket
The session response includes a WebSocket URL for real-time streaming. The token expires in 5 minutes, so connect promptly. Once connected, token expiry does NOT terminate the stream.End the Session
When the conversation is complete, end the session to stop billing:Response
Retrieve the Transcript
After the session ends, retrieve the complete transcript:Response
Next Steps
Session Modes
Learn about different translation modes
Webhooks
Set up real-time event notifications
AI Agents
Deploy intelligent voice agents
Error Handling
Handle errors gracefully