Quickstart
If you want to call Nairon’s OpenAI-compatible endpoints directly rather than building a hotline, this is the fastest path. If you’re building a phone-answering agent instead, see the App quickstart.
1. Create a platform-type project
Section titled “1. Create a platform-type project”Create a project with type = platform (or ask an org admin to). This redirects you to
platform.v2.nairon.xyz — see the platform console.
2. Mint a key
Section titled “2. Mint a key”On the platform console, mint a secret API key (nrn_sk_...) from API Keys — see
API keys.
3. Call the platform API
Section titled “3. Call the platform API”from openai import OpenAI
client = OpenAI( api_key="NAIRON_API_KEY", # your nrn_sk_... key base_url="https://api.v2.nairon.xyz/v1",)
resp = client.chat.completions.create( model="auto", # or a specific catalogue model tag messages=[{"role": "user", "content": "Say hello in one sentence."}],)print(resp.choices[0].message.content)See the platform-API guide and the API doc for the full surface (chat, speech, transcription, realtime, batch, knowledge bases) and service-API for Platform / MCP for managing flows and reading usage programmatically.