Skip to main content

Getting Started

LIBRARIES & SDKS

Use the OpenAI SDK to integrate CallMissed APIs — our endpoints are fully OpenAI-compatible.

Official Libraries

CallMissed supports two SDK families — use whichever you prefer. Just change the base URL and use your cm_ API key.

LanguagePackageManager
PythonopenaiPyPI
JavaScript / TypeScriptopenainpm
Goopenai-gogo modules
PHPopenai-php/clientComposer
Rubyruby-openaiRubyGems
Java / KotlinHTTP clientMaven / Gradle

Anthropic SDK (for /v1/messages endpoint)

LanguagePackageManager
PythonanthropicPyPI
JavaScript / TypeScript@anthropic-ai/sdknpm

> Tip: The Anthropic SDK talks to /v1/messages. See the Anthropic API docs for full details.

Installation

pip install openai

Upgrade to the latest version:

pip install --upgrade openai

Configuration

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"}]
)
print(response.choices[0].message.content)

Resources

Was this page helpful?