Developer Quickstart
Get started with CallMissed APIs in under a minute using just a few lines of code
Note: CallMissed APIs are OpenAI-compatible — use the official OpenAI SDK and change only the base URL and API key prefix (
cm_).
from openai import OpenAI
client = OpenAI(api_key="cm_your_api_key", base_url="https://api.callmissed.com/v1")
response = client.chat.completions.create(
model="sarvam-105b",
messages=[{"role": "user", "content": "Hello in Hindi"}],
)
print(response.choices[0].message.content)SDKs & LibrariesInstall the OpenAI SDK in your languageModel Catalog123 models — LLM, STT, TTS, realtime voice, image, embeddings
Get started
Create an API Key
Visit the CallMissed Dashboard and create a new API key. Keep this key secure — you'll need it to authenticate your requests.
Set up your environment
Export your API key as an environment variable:
export CALLMISSED_API_KEY="your_api_key_here"Install the SDK
Choose your preferred language and install the OpenAI SDK:
pip install openaiMake your first API call
Use the same pattern as the hero example above — pass your cm_ API key and pick any free-tier model.
Tip: Store your API key in environment variables. Never commit keys to version control.
Ready to explore? See Chat Completion for streaming and tool calling, or browse the Model Catalog.
CallMissed APIs
Chat Completion
response = client.chat.completions.create(
model="sarvam-105b",
messages=[{"role": "user", "content": "Explain quantum computing"}],
stream=True
)
for chunk in response:
if chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="")Speech to Text
with open("audio.wav", "rb") as f:
response = client.audio.transcriptions.create(
model="saaras:v3",
file=f
)
print(response.text)Text to Speech
response = client.audio.speech.create(
model="bulbul:v3",
voice="shubh",
input="Namaste, kaise hain aap?"
)
response.stream_to_file("speech.mp3")Next steps
ModelsLLM, STT, TTS, and image models across every major providerChat CompletionStreaming, tool calling, vision, and the Responses APIManaged Voice AgentSpeech-to-speech over one WebSocket — no SDK, Deepgram-compatibleVoice AgentReal-time WebRTC voice agents with Indic STT/TTSCookbooksStep-by-step tutorials for production workflows