Getting Started
Developer Quickstart
Get started with CallMissed APIs in under a minute using just a few lines of code
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-30b", messages=[{"role": "user", "content": "Hello in Hindi"}],)print(response.choices[0].message.content)Get started
1
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.
2
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.
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-30b", 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
Was this page helpful?