# Documentation - [Documentation](https://docs.omnidim.io/docs): Build AI voice agents with OmniDimension. Guides, API reference, and integration recipes for the entire platform. - **Get started** - [Quickstart](https://docs.omnidim.io/docs/get-started/quickstart): Build with OmniDimension from an AI client, your backend, or the dashboard. - [Authentication](https://docs.omnidim.io/docs/get-started/authentication): How to obtain an OmniDimension API key and configure it for the SDK. - **Build your agent** - [Configure your agent](https://docs.omnidim.io/docs/dashboard-guides/configure-your-agent): Configure the conversational flow for your agent. Sections, instructions, welcome message, and best practices. - [Voices and languages](https://docs.omnidim.io/docs/dashboard-guides/voices-and-languages): Build globally-aware AI agents with native-level fluency across 90+ languages and 1000+ realistic voices. - [Call screening detection](https://docs.omnidim.io/docs/dashboard-guides/call-screening): Recognise a phone's built-in call screener, introduce your agent in one line, then wait for the person to pick up instead of pitching at the machine. - [Voicemail detection](https://docs.omnidim.io/docs/dashboard-guides/voicemail): Recognize an answering machine on outbound calls, leave your message once, and end the call instead of pitching to a recording. - [Knowledge base](https://docs.omnidim.io/docs/dashboard-guides/knowledge-base): Provide your agent with domain-specific knowledge using document-based references. - Caller memory - [Caller memory](https://docs.omnidim.io/docs/caller-memory): Your agents remember each caller across calls, web chats, and WhatsApp, so every conversation picks up where the last one stopped. - [Turn on caller memory](https://docs.omnidim.io/docs/caller-memory/set-up): Create a Memory pool, put your agents on it, and check that they remember callers. - [Memory pools](https://docs.omnidim.io/docs/caller-memory/memory-pools): Group the agents that should share what they remember about each caller, and keep the others apart. - [What agents remember](https://docs.omnidim.io/docs/caller-memory/what-gets-remembered): The six parts of a caller's memory, when it is updated, what is never stored, and how agents are told to use it. - [Memory across channels](https://docs.omnidim.io/docs/caller-memory/channels): How phone calls, web calls and chat, and WhatsApp share one memory of each caller, and how callers are recognized. - [View and manage memory](https://docs.omnidim.io/docs/caller-memory/manage): See who your agents remember and exactly what they are told, review every change, and forget a caller. - [FAQ and troubleshooting](https://docs.omnidim.io/docs/caller-memory/faq): Why an agent didn't remember a caller, and answers to common questions about caller memory. - [Voice cloning](https://docs.omnidim.io/docs/dashboard-guides/voice-cloning): Clone your voice and use it with your AI agents for a personalized experience. - [Web search tool](https://docs.omnidim.io/docs/dashboard-guides/web-search-tool): Enable real-time internet access for your agent using the Web Search integration. - [Agent timezone](https://docs.omnidim.io/docs/dashboard-guides/update-timezone): Set and update your agent's timezone for accurate scheduling and time-based operations. - [Agent versioning and publishing](https://docs.omnidim.io/docs/dashboard-guides/agent-versioning-and-publishing): Save named versions of an agent, publish one as what your live traffic runs, and roll back anytime while your draft stays editable. - **Phone numbers** - [Get a phone number](https://docs.omnidim.io/docs/get-a-number): Four ways to get a phone number for your AI agents. Buy one from OmniDimension, or import your own from Twilio, a SIP carrier, or Exotel. - [Numbers Shop](https://docs.omnidim.io/docs/dashboard-guides/numbers-shop): Purchase dedicated phone numbers and connect them to your Voice AI agents. - [Buy a number over the API](https://docs.omnidim.io/docs/buy-a-number-api): Search the OmniDimension number shop, buy a number, stop it renewing, and release it when you are done. - [140 and 160 series numbers (India)](https://docs.omnidim.io/docs/dashboard-guides/india-140-160-numbers): Optional 140, 160 and 1601 series numbers for business calls in India, who can get them, and the documents to prepare. - Bring your own number - [Bring your own number](https://docs.omnidim.io/docs/telephony): Import phone numbers you already own into OmniDimension, from Twilio, any SIP carrier, or Exotel. - [SIP Trunking](https://docs.omnidim.io/docs/telephony/sip): Connect your existing phone numbers to OmniDimension using SIP trunking. - [Twilio via SIP (advanced)](https://docs.omnidim.io/docs/telephony/sip-twilio): Connect Twilio numbers through Elastic SIP Trunking with credential lists or IP ACL authentication. For most users, the direct Twilio import is simpler. - [RingCentral SIP Configuration](https://docs.omnidim.io/docs/telephony/sip-ringcentral): Complete guide to configure your RingCentral SIP trunking, including SIP credentials and optional outbound proxy. - [Vonage SIP Setup](https://docs.omnidim.io/docs/telephony/sip-vonage): Complete guide to configure your Vonage SIP trunking with UserKey and Secret authentication. - [Voicelink SIP Setup](https://docs.omnidim.io/docs/telephony/sip-voicelink): Connect a Voicelink DID to your OmniDimension agents over SIP. The host, port, and dial prefix are filled in for you, so you only pick Voicelink and enter your number. - [Import a Twilio number](https://docs.omnidim.io/docs/telephony/twilio-import): Import an existing Twilio number into OmniDimension with your account SID and auth token. No SIP trunk setup required. - [Import Exotel Phone Numbers](https://docs.omnidim.io/docs/telephony/exotel-import): Import your Exotel phone numbers into OmniDimension and set up call flows for your AI agents. - **Channels** - [Omnichannel deployment](https://docs.omnidim.io/docs/omnichannel): Deploy one agent across voice, web chat, WhatsApp, email, and SMS. - [Web chat widget](https://docs.omnidim.io/docs/dashboard-guides/web-chat-widget): Deploy your voice AI agent as a chat widget on your website with a no-code embed script. - WhatsApp - [WhatsApp overview](https://docs.omnidim.io/docs/whatsapp): Connect a WhatsApp number to OmniDimension so an AI agent answers your customers, and your team can chat, send templates, and run broadcasts from one place. - **Set up** - [How WhatsApp messaging works](https://docs.omnidim.io/docs/whatsapp/how-it-works): The WhatsApp rules every business works within, including the 24-hour window, template categories, who charges what, quality rating, messaging limits, and opt-outs. - [Get your Meta credentials](https://docs.omnidim.io/docs/whatsapp/meta-credentials): Find the WhatsApp Business account ID and the permanent access token you need to connect a WhatsApp Business number, and set up your Meta account from scratch. - [Connect a WhatsApp number](https://docs.omnidim.io/docs/whatsapp/import-number): Connect a WhatsApp Business number to OmniDimension with your WhatsApp Business account ID and a permanent Meta access token, then register it and pick the numbers to import. - [Receive messages](https://docs.omnidim.io/docs/whatsapp/inbound-replies): A one-time setup per number so customer WhatsApp messages reach OmniDimension and your agent can reply. - **Use it** - [Agent replies](https://docs.omnidim.io/docs/whatsapp/agent-replies): Choose the agent that answers a WhatsApp number, turn its replies on or off, and change how its replies feel to customers. - [Chat with customers](https://docs.omnidim.io/docs/whatsapp/inbox): Read every WhatsApp conversation on a number, reply yourself, take a chat over from the agent, and hand it back. - [Templates](https://docs.omnidim.io/docs/whatsapp/templates): Create WhatsApp message templates, get them approved by Meta, and use them to start chats and run broadcasts. - [Insights](https://docs.omnidim.io/docs/whatsapp/insights): See conversations, reply rate, read rate, delivery, and failed messages for each WhatsApp number, and what the failure reasons mean. - [WhatsApp during and after calls](https://docs.omnidim.io/docs/whatsapp/during-calls): Let your voice agent send an approved WhatsApp template while it is on a call, with placeholders filled from the conversation, or send one automatically after the call ends. - [WhatsApp calls](https://docs.omnidim.io/docs/whatsapp/calling): Let customers call your WhatsApp number from the chat and have your AI agent answer. - **Over the API** - [WhatsApp API](https://docs.omnidim.io/docs/whatsapp/api): Send and receive WhatsApp messages, manage templates and opt-outs, and run broadcasts from your own code. - **More** - [WhatsApp FAQ](https://docs.omnidim.io/docs/whatsapp/faq): Answers to the questions people ask most about connecting WhatsApp to OmniDimension, registering numbers, templates, broadcasts, opt-outs, billing and calls. - Reference - [Number settings](https://docs.omnidim.io/docs/whatsapp/number-settings): Advanced options for a WhatsApp number, including welcome prompts, commands, image workflows, QR codes, blocked contacts, and calls. - [Quick test with your phone](https://docs.omnidim.io/docs/whatsapp/quick-test): Try your agent on WhatsApp in a few minutes by linking your own WhatsApp number with a QR code, with no Meta setup. - [WhatsApp error codes](https://docs.omnidim.io/docs/whatsapp/error-codes): What each Meta error code means when a WhatsApp message, template, registration, or call fails, and what to do about it. - **Campaigns** - Bulk calls - [Bulk calls](https://docs.omnidim.io/docs/bulk-calls): Run AI-powered outbound campaigns with retry logic, dynamic queues, and best practices for production deployment. - [Bulk Call Campaign Guide](https://docs.omnidim.io/docs/bulk-calls/overview): Complete step-by-step guide to create and manage AI-powered bulk call campaigns to reach multiple contacts efficiently. - [Dynamic Campaign Guide](https://docs.omnidim.io/docs/bulk-calls/dynamic): Create a Dynamic Campaign that accepts contacts in real time via a webhook API. Ideal for CRM integrations and continuous outreach. - [Run a campaign over the API](https://docs.omnidim.io/docs/bulk-calls/api): Build a campaign as a draft, rotate it across a pool of numbers, steer it while it runs, and read per-contact results. - [Bulk Outbound Call Best Practices](https://docs.omnidim.io/docs/bulk-calls/best-practices): Complete guide for optimizing bulk call campaigns, from agent configuration to post-call analysis. - [WhatsApp broadcasts](https://docs.omnidim.io/docs/whatsapp/broadcasts): Send an approved WhatsApp template to a list of contacts, review the cost before launch, and let the agent answer the replies. - **Calls and analytics** - [Recent calls](https://docs.omnidim.io/docs/dashboard-guides/recent-calls): Access, analyze, and make use of recent call logs to improve your agent's performance. - [Post-call actions](https://docs.omnidim.io/docs/dashboard-guides/post-call): Configure post-call delivery to Email, Salesforce, Slack, Webhooks, HubSpot, Google Sheets, Omni CRM, WhatsApp Cloud, and workflows. - [Live call monitoring](https://docs.omnidim.io/docs/dashboard-guides/live-call-monitoring): Watch in-progress calls as live transcripts and status, updated in near real time. - [Call quality and debugging](https://docs.omnidim.io/docs/dashboard-guides/call-quality): Understand the per-call quality score, replay a call with its event timeline, and read the latency profile. - [Omni CRM](https://docs.omnidim.io/docs/dashboard-guides/omni-crm): A single place to search, filter, and analyze every customer interaction your agents have handled. - [Conversation Insights](https://docs.omnidim.io/docs/dashboard-guides/conversation-insights): Bulk-audit call recordings from OmniDimension or external sources and get aggregate quality insights. - **Reseller (partners)** - Your business - [Overview](https://docs.omnidim.io/docs/reseller/your-business/overview): Run client accounts from your own product: create them, fund them, verify them, buy them numbers, and control what they can do. All over the API. - [Onboarding](https://docs.omnidim.io/docs/reseller/your-business/onboarding): From access to a client that can make calls: get your key, create an account, fund it, verify it, and buy it a number. - [Credits](https://docs.omnidim.io/docs/reseller/your-business/credits): Fund a client at a rate you choose, track your margin, and take unused minutes back. Two rates move on every transfer. - [Brand and email](https://docs.omnidim.io/docs/reseller/your-business/identity): Put your name, logo, and sender address on the email your clients receive, from the API. - [Usage and analytics](https://docs.omnidim.io/docs/reseller/your-business/analytics): See your whole book at a glance, find the client that needs you today, and drill into any client. Read-only. - Your clients - [Clients](https://docs.omnidim.io/docs/reseller/your-clients/clients): Create client accounts, set what each one can do, block or restore them, and release them, all with your reseller key. - [Client API keys](https://docs.omnidim.io/docs/reseller/your-clients/client-api-keys): Issue, rotate, and revoke the API keys your clients use, from your reseller key, for any user in your client accounts. - [Act as a client](https://docs.omnidim.io/docs/reseller/your-clients/acting-as-clients): Send user_id on any client-scoped call and it runs on that client's account, with your reseller key. - [Verify a client](https://docs.omnidim.io/docs/reseller/your-clients/verification): The identity and business checks a client passes before it can buy a number, carrier by carrier. Ask which step is next, run it, and follow the chain. - [Numbers](https://docs.omnidim.io/docs/reseller/your-clients/numbers): Search, buy, and attach a phone number for a client. Buying is the normal number API with the client's user_id added. - [Reseller API](https://docs.omnidim.io/docs/reseller-api): Run your clients from your own product: create them, set what they can do, fund them with credits, verify them, and buy them numbers. - [FAQ](https://docs.omnidim.io/docs/reseller/faq): Common questions about running client accounts on the reseller API, from keys and access to credits, verification, and branding. - **Integrations** - [Post-call actions over the API](https://docs.omnidim.io/docs/integrations/post-call-actions-api): Send every call's results to email, a webhook, WhatsApp, Google Sheets, Slack, your CRM or a workflow, and add, change or remove those deliveries from your own code. - Integrations - [Integrations](https://docs.omnidim.io/docs/integrations): Connect OmniDimension to anything. Custom API turns any REST endpoint into an agent action, plus prebuilt connectors for the platforms you already use. - [Make, Zapier, n8n, GHL](https://docs.omnidim.io/docs/integrations/zapier-make-n8n): Connect Make, Zapier, n8n, and GHL to your OmniDimension agent to automate workflows. - [HubSpot](https://docs.omnidim.io/docs/integrations/hubspot): Integrate HubSpot with your voice AI agent to automatically manage contacts, deals, and more. - [Salesforce](https://docs.omnidim.io/docs/integrations/salesforce): Connect Salesforce to keep one record per caller, log every call with its summary, and read or update records from your workflows. - [Google Calendar](https://docs.omnidim.io/docs/integrations/google-calendar): Integrate Google Calendar with your agent to schedule and manage meetings automatically. - [Cal.com](https://docs.omnidim.io/docs/integrations/cal-com): Integrate Cal.com with your voice AI agent to schedule meetings during a call. - [Calendly](https://docs.omnidim.io/docs/integrations/calendly): Connect Calendly so your agent can check availability and book meetings during a call. - [Slack](https://docs.omnidim.io/docs/integrations/slack): Send automated messages and notifications from your voice AI agent into your Slack workspace. - [Google Sheets](https://docs.omnidim.io/docs/integrations/google-sheets): Send one row per call to a Google Sheet automatically after each call. - [Custom API](https://docs.omnidim.io/docs/integrations/custom-api): Connect your agent to any external service using custom API integration. - [Custom API transfer](https://docs.omnidim.io/docs/integrations/custom-api-transfer): Transfer live calls to a phone number your API chooses, using one reserved response key. - **Automation** - OmniWorkflows - [OmniWorkflows](https://docs.omnidim.io/docs/workflows): Build visual automations that connect triggers to actions like Voice AI calls, CRM updates, and messaging. - [Create a workflow](https://docs.omnidim.io/docs/workflows/create-a-workflow): Start a new workflow from a blank canvas or one of the ready-made templates. - [The builder](https://docs.omnidim.io/docs/workflows/the-builder): A tour of the workflow canvas, the node settings panel, connections, and branches. - [Your first workflow](https://docs.omnidim.io/docs/workflows/first-workflow): Build a lead follow-up workflow that calls hot leads with a Voice AI agent and logs cold leads. - [Test and publish](https://docs.omnidim.io/docs/workflows/test-and-publish): Run a workflow with sample data, read the result, then publish it and turn on its live link. - [Execution logs](https://docs.omnidim.io/docs/workflows/execution-logs): Find any workflow run, filter by result or type, and inspect what every node received and produced. - [Manage workflows](https://docs.omnidim.io/docs/workflows/manage-workflows): Organize workflows into folders, duplicate them safely, and use the actions on each row. - Node reference - [Node reference](https://docs.omnidim.io/docs/workflows/nodes): Every workflow trigger and action, grouped the way they appear in the Components library. - [Triggers](https://docs.omnidim.io/docs/workflows/nodes/triggers): Triggers start a workflow. Each workflow has exactly one trigger. - [AI](https://docs.omnidim.io/docs/workflows/nodes/ai): AI nodes read information, decide, sort, and write. - [Flow control](https://docs.omnidim.io/docs/workflows/nodes/flow-control): Flow control nodes make decisions, wait, and organize the canvas. - [Messaging and calls](https://docs.omnidim.io/docs/workflows/nodes/messaging-and-calls): These nodes reach people through calls, texts, WhatsApp, and email. - [CRM](https://docs.omnidim.io/docs/workflows/nodes/crm): CRM nodes read and update your customer records. - [Integrations](https://docs.omnidim.io/docs/workflows/nodes/integrations): Connect workflows to any other tool. - [Passing data between nodes](https://docs.omnidim.io/docs/workflows/variables): Use a lead's details, an AI answer, or a call's result from earlier nodes in any later node. - [AI scoring and routing](https://docs.omnidim.io/docs/workflows/ai-routing): Let an AI Assistant node score or classify leads, route each group with a Switch, and test a single node. - [Templates and patterns](https://docs.omnidim.io/docs/workflows/templates-and-patterns): Proven workflow setups for hot lead alerts, fast lead calling, retries, callbacks, business hours, and email follow-ups. - [Example: from new lead to follow-up](https://docs.omnidim.io/docs/workflows/dynamic-bulk-call-example): An end-to-end journey with two workflows and a Dynamic Bulk Call campaign. Queue every new lead, let the campaign call them, then act on how each call went. - [Build with the API](https://docs.omnidim.io/docs/workflows/build-with-the-api): Create and run workflows over the REST API, the same workflows the dashboard builds. The rules an integration or an AI agent needs to get it right. - [Troubleshooting](https://docs.omnidim.io/docs/workflows/troubleshooting): What workflow warnings mean and how to fix runs that take the wrong path or never start. - **White-label (agencies)** - OmniRelay - [OmniRelay](https://docs.omnidim.io/docs/omnirelay): Sell Voice AI under your own brand with OmniRelay, OmniDimension's platform for agencies: your domain, your branding, your client pricing. - [Set up your platform](https://docs.omnidim.io/docs/omnirelay/set-up-your-platform): Brand your OmniRelay platform, point your domain at us, and go live for your clients in about ten minutes. - [Connect your domain](https://docs.omnidim.io/docs/omnirelay/connect-your-domain): Point a custom domain at your white-label platform, with per-provider DNS steps and a troubleshooting guide. - [Clients and billing](https://docs.omnidim.io/docs/omnirelay/clients-and-billing): Add client workspaces, set your own client pricing, manage your monthly voice minutes, and change plans on OmniRelay. - [FAQ](https://docs.omnidim.io/docs/omnirelay/faq): Common questions about running a white-label Voice AI platform with OmniRelay, covering branding, setup, pricing, billing, clients, and going live. - **Learn** - API guides - [Web call protocol](https://docs.omnidim.io/docs/web-call-protocol): The WebSocket protocol behind web call sessions, for iOS, Android, Flutter, kiosks, and any platform without an official SDK. - [Real-time and streaming](https://docs.omnidim.io/docs/realtime): How real-time data flows in OmniDimension. Streaming voice on live calls, webhook event delivery for call results, and live status polling for bulk campaigns. - [Errors, rate limits, and retries](https://docs.omnidim.io/docs/errors): Error response shapes, status codes, rate limits, and retry guidance for the OmniDimension REST API. - [Per-call languages](https://docs.omnidim.io/docs/per-call-languages): Set the languages an agent speaks on one specific call, chosen at dial time, without changing the agent's own configuration. - [Per-call post-call actions](https://docs.omnidim.io/docs/per-call-post-call-actions): Choose where one specific call's results are sent, and which variables are extracted, at dial time, without changing the agent's own configuration. - [Clone a voice over the API](https://docs.omnidim.io/docs/voice-cloning-api): Create a cloned voice from an audio sample with the API, wait for it to be ready, and use it in an agent. - Examples - [Examples](https://docs.omnidim.io/docs/examples): Real-world voice agent builds you can learn from and adapt. Healthcare, real estate, support, recruiting, and more. - [SaaS OmniSupport agent](https://docs.omnidim.io/docs/examples/omnisupport-agent): Build a voice AI agent for SaaS support with Cal.com, Slack, and Make.com integrations. - [Healthcare appointment booking](https://docs.omnidim.io/docs/examples/health-appointment): Build a voice agent for healthcare appointment scheduling, doctor availability, and clinic info. - [Real estate agent (API)](https://docs.omnidim.io/docs/examples/real-estate): Build a voice agent that handles property inquiries, schedules viewings, and manages client interactions via the API. - [Recruitment screening bot](https://docs.omnidim.io/docs/examples/recruit-bot): Build an outbound voice agent for initial job applicant screening calls, with bulk call campaigns. - [Restaurant agent (API)](https://docs.omnidim.io/docs/examples/restaurant): Build a voice agent that handles restaurant orders, reservations, and outbound marketing campaigns. - [Insurance claim status and filing](https://docs.omnidim.io/docs/examples/insurance-claim-status): Build a voice agent that handles insurance claim status checks, new claim filing, and customer inquiries. - [Utility bill payment agent (API)](https://docs.omnidim.io/docs/examples/utility-bill-payment): Build an outbound voice agent that handles utility bill payments, sends payment reminders, and manages customer interactions. - [Travel planning and lead generation](https://docs.omnidim.io/docs/examples/travel-planning-agent): Build an engaging voice agent that helps users plan trips while collecting lead information for your travel business. - Tutorials - [Tutorials](https://docs.omnidim.io/docs/tutorials): Video walkthroughs for building, configuring, and integrating OmniDimension voice agents. - **Reference** - API reference - [API reference](https://docs.omnidim.io/docs/api-reference): REST + Python SDK reference for the OmniDimension platform with an interactive try-it-out playground. - **Build** - Agents: Create, retrieve, update, and delete AI voice agents. Configure transcriber, model, voice, integrations, and post-call actions. - [List agents](https://docs.omnidim.io/docs/api-reference/agents/listAgents): Retrieve all agents for the authenticated user with pagination support. - [Create agent](https://docs.omnidim.io/docs/api-reference/agents/createAgent): Create a new agent with the provided configuration. The full config supports transcriber, model, voice, web search, transfer, end-call conditions, post-call actions (email, webhook, Omni CRM, Cloud WhatsApp, or a workflow), ambient background track, initial ringing sound, and multilingual support. - [Get agent](https://docs.omnidim.io/docs/api-reference/agents/getAgent): Get details of a specific agent by ID. The response also includes a `can_publish` boolean showing whether [version history](https://docs.omnidim.io/docs/api-reference/agents/listAgentVersions) is turned on for the agent's organization. - [Delete agent](https://docs.omnidim.io/docs/api-reference/agents/deleteAgent): Permanently delete an agent. - [Update agent](https://docs.omnidim.io/docs/api-reference/agents/updateAgent): Update an existing agent. Send only the fields you want to change. `post_call_actions` replaces the agent's email, webhook, Omni CRM, Cloud WhatsApp and workflow actions as one set, but only when you send at least one of those types. Google Sheets, Slack, Salesforce, HubSpot and Zoho Bigin actions are replaced only when their key is sent, and kept otherwise. If a sent action gives a variable key a new prompt, kept actions that use the same key take the new prompt too. To add, change or remove one action without touching the others, use `/agents/{agent_id}/post-call-actions`. > **Voicemail detection is an access-gated feature** that we turn on per account. If it isn't enabled for yours yet, [request access](https://omnidim.io/contact-us?reason=product&lock=1) before configuring the `voicemail` object below. - [List post-call actions](https://docs.omnidim.io/docs/api-reference/agents/listPostCallActions): List every post-call action on the agent, each with its own `id`. - [Add a post-call action](https://docs.omnidim.io/docs/api-reference/agents/addPostCallAction): Add one post-call action to the agent. The agent's other actions are not changed. Send an `Idempotency-Key` header to make a retry safe: the same key and body return the action the first request added. - [Update a post-call action](https://docs.omnidim.io/docs/api-reference/agents/updatePostCallAction): Change fields of one post-call action. Fields you don't send keep their value. The `type` cannot change. - [Delete a post-call action](https://docs.omnidim.io/docs/api-reference/agents/deletePostCallAction): Remove one post-call action from the agent. The agent's other actions are not changed. - [List agent versions](https://docs.omnidim.io/docs/api-reference/agents/listAgentVersions): List an agent's saved versions, newest first. Includes manual (named) versions, automatic versions, and system backups taken before a restore. - [Save an agent version](https://docs.omnidim.io/docs/api-reference/agents/createAgentVersion): Save the agent's current configuration as a named version. - [Rename an agent version](https://docs.omnidim.io/docs/api-reference/agents/renameAgentVersion): Rename a saved version or edit its note. Version history is immutable otherwise; only the name and note can change. - [Delete an agent version](https://docs.omnidim.io/docs/api-reference/agents/deleteAgentVersion): Delete a saved version. - [Diff an agent version](https://docs.omnidim.io/docs/api-reference/agents/diffAgentVersion): Get a record-level diff for this version. By default it shows what changed in this version compared with the version before it. Use `against=current` to compare with the agent's live config (what restoring this version would change), or `against=` to compare with another version. - [Restore an agent version](https://docs.omnidim.io/docs/api-reference/agents/restoreAgentVersion): Restore a version onto the live agent. Your current setup is saved first as a backup version, so restoring is undoable. Configuration is brought back; any knowledge files or integrations that were deleted since this version was saved can't be re-linked, and are reported in `skipped`. - Knowledge base: Upload, manage, and attach PDF documents to agents. - [List knowledge base files](https://docs.omnidim.io/docs/api-reference/knowledge-base/listKnowledgeBaseFiles): List all knowledge-base files for the authenticated user. - [Check file upload capability](https://docs.omnidim.io/docs/api-reference/knowledge-base/canUploadFile): Check whether a file can be uploaded based on size and type. - [Upload file to knowledge base](https://docs.omnidim.io/docs/api-reference/knowledge-base/uploadKnowledgeBaseFile): Upload a PDF file. The file content must be Base64 encoded. - [Attach files to agent](https://docs.omnidim.io/docs/api-reference/knowledge-base/attachKnowledgeBaseFiles): Attach multiple knowledge-base files to an agent. - [Detach files from agent](https://docs.omnidim.io/docs/api-reference/knowledge-base/detachKnowledgeBaseFiles): Detach multiple knowledge-base files from an agent. - [Delete file from knowledge base](https://docs.omnidim.io/docs/api-reference/knowledge-base/deleteKnowledgeBaseFile): Permanently delete a file. Removes it from any attached agents. Cannot be undone. - Voice cloning: Clone a voice from an audio sample and use it in your agents. Creation is asynchronous: the create call returns at once, then you poll the status until the voice is ready. Voice cloning must be included in your plan. - [List cloned voices](https://docs.omnidim.io/docs/api-reference/voice-cloning/listClonedVoices): Your cloned voices, oldest first, one cursor page at a time. Call it with no cursor, then pass back the next_cursor you were handed until it is null. - [Create a cloned voice](https://docs.omnidim.io/docs/api-reference/voice-cloning/createClonedVoice): Clone a voice from an audio sample. The sample must be Base64 encoded and 1 KB to 25 MB. MP3, WAV and WebM are accepted; a non-audio body is refused. - [Get a cloned voice](https://docs.omnidim.io/docs/api-reference/voice-cloning/getClonedVoice): One cloned voice, including its creation `status`. - [Update a cloned voice](https://docs.omnidim.io/docs/api-reference/voice-cloning/updateClonedVoice): Change the name, description or gender of a cloned voice. - [Delete a cloned voice](https://docs.omnidim.io/docs/api-reference/voice-cloning/deleteClonedVoice): Delete a cloned voice and remove it from the provider. A voice that is still processing cannot be deleted. - [Play a cloned voice sample](https://docs.omnidim.io/docs/api-reference/voice-cloning/getClonedVoiceSample): Stream the generated mp3 sample of a cloned voice. Only the owner can fetch it. 404 (sample_not_ready) when no sample exists yet. The request needs your API key in the Authorization header. - [Regenerate a cloned voice sample](https://docs.omnidim.io/docs/api-reference/voice-cloning/regenerateClonedVoiceSample): Regenerate the sample audio for a `ready` voice. - **Setup** - Providers: Discover available LLM, voice, STT, and TTS providers, with advanced filtering for ElevenLabs voices. - [List LLM providers](https://docs.omnidim.io/docs/api-reference/providers/listLLMProviders): Retrieve all available Large Language Model providers. - [List voices](https://docs.omnidim.io/docs/api-reference/providers/listVoices): Retrieve voices with filtering and pagination support. ElevenLabs and Cartesia support advanced filtering by name, language, accent, and gender. Other providers support basic pagination only. - [List STT providers](https://docs.omnidim.io/docs/api-reference/providers/listSTTProviders): Retrieve all Speech-to-Text providers. - [List TTS providers](https://docs.omnidim.io/docs/api-reference/providers/listTTSProviders): Retrieve all Text-to-Speech providers. - [List all providers](https://docs.omnidim.io/docs/api-reference/providers/listAllProviders): Comprehensive response with services and voices in one payload. - [Get voice details](https://docs.omnidim.io/docs/api-reference/providers/getVoice): Detailed metadata for a specific voice. - Phone numbers: Search and buy phone numbers, release them, attach and detach them from agents, and import numbers you already own from Twilio, Exotel, or your own SIP trunk. - [List phone numbers](https://docs.omnidim.io/docs/api-reference/phone-numbers/listPhoneNumbers): Retrieve the phone numbers on your account, whether you bought them from the OmniDimension number shop or imported your own. - [Search available phone numbers](https://docs.omnidim.io/docs/api-reference/phone-numbers/searchPhoneNumbers): Search the OmniDimension number shop for phone numbers available to buy in a region. Price and validity are flat per region, so every result shows the same monthly_rental_usd and validity_days, and that is the exact amount a purchase will charge. - [Purchase a phone number](https://docs.omnidim.io/docs/api-reference/phone-numbers/purchasePhoneNumber): Buy a phone number from the OmniDimension number shop. The monthly rental comes out of your wallet and the number is added to your account, ready to attach to an agent. - [Release a phone number](https://docs.omnidim.io/docs/api-reference/phone-numbers/releasePhoneNumber): Give up a phone number and stop its rental, so it is not charged at the next renewal. Only a number currently allocated to the account can be released. - [Switch auto-renew on a phone number](https://docs.omnidim.io/docs/api-reference/phone-numbers/setPhoneNumberAutoRenew): Turn auto-renew off or back on for a number bought from the number shop. With auto-renew off, the number is not charged again: it keeps working until the end of the period already paid for and is then released. Turn it back on before that date and it renews as normal. Sending the value the number already has changes nothing and still succeeds. - [Attach phone number to agent](https://docs.omnidim.io/docs/api-reference/phone-numbers/attachPhoneNumber): Attach a phone number to an existing agent. Without user_id, use any number and agent your key can manage. With user_id, the number and the agent must both belong to that client. - [Detach phone number](https://docs.omnidim.io/docs/api-reference/phone-numbers/detachPhoneNumber): Detach a phone number from its agent. Without user_id, use any number your key can manage. With user_id, the number must belong to that client. - [Import Twilio number](https://docs.omnidim.io/docs/api-reference/phone-numbers/importTwilioNumber): Import an existing Twilio number by providing your Twilio credentials. - [Import Exotel number](https://docs.omnidim.io/docs/api-reference/phone-numbers/importExotelNumber): Import an Exotel number by providing your Exotel credentials. - [Import SIP trunk](https://docs.omnidim.io/docs/api-reference/phone-numbers/importSipTrunk): Import a phone number associated with a SIP trunk. - **Channels** - WhatsApp: Send and receive WhatsApp messages, manage templates and opt-outs, hand a conversation to a person, and run broadcasts. WhatsApp must be set up on a number in your dashboard first. For the concepts, see the [WhatsApp guide](https://docs.omnidim.io/docs/whatsapp). - [List WhatsApp numbers](https://docs.omnidim.io/docs/api-reference/whatsapp/listWhatsappNumbers): The WhatsApp numbers your API key can see, oldest first. Use it to find a number id, then pass that id to the other routes. Each number carries capabilities, which says what it can send. Archived numbers are left out. - [Connect WhatsApp numbers](https://docs.omnidim.io/docs/api-reference/whatsapp/importWhatsappNumbers): Connects numbers from your own WhatsApp Business Account with your Meta access token. List them first with [Preview numbers](https://docs.omnidim.io/docs/api-reference/whatsapp/previewWhatsappNumbers), then pass the ids you want. - [Preview numbers to connect](https://docs.omnidim.io/docs/api-reference/whatsapp/previewWhatsappNumbers): Lists the numbers on your WhatsApp Business Account with their health, and connects nothing. The access token is checked first, against the same rules as connecting, so a preview that passes can connect. - [Get a WhatsApp number](https://docs.omnidim.io/docs/api-reference/whatsapp/getWhatsappNumber): One number, with its status, quality and messaging limit, and what it can send. A number in another workspace answers 404. - [List templates](https://docs.omnidim.io/docs/api-reference/whatsapp/listWhatsappTemplates): The number's message templates, as last synced, oldest first. Pass status=approved to see exactly the templates a send accepts. Sync the list with syncWhatsappTemplates first if a template you expect is missing. - [Sync templates](https://docs.omnidim.io/docs/api-reference/whatsapp/syncWhatsappTemplates): Pull the number's templates and their review statuses from WhatsApp into your list. Run it after you create or edit a template in Meta. It runs at most once a minute per number: a second call inside that minute answers 429. - [Get calling settings](https://docs.omnidim.io/docs/api-reference/whatsapp/getWhatsappCalling): Whether calling is on for this number and whether it can be turned on, with the list of checks. A failing check does not fail the request: the response stays 200 and names the check that blocks. Meta Cloud numbers only. Calling must be included in your plan. - [Turn calling on or off](https://docs.omnidim.io/docs/api-reference/whatsapp/setWhatsappCalling): Turn calling on or off for a Meta Cloud number. A customer calls this number; it does not place calls. Turning it on requires every blocking check to pass, or the request answers 409. Turning it off is always allowed. - [List conversations](https://docs.omnidim.io/docs/api-reference/whatsapp/listWhatsappConversations): A number's inbox, newest activity first. Poll it with updated_since for changes since your last call, or page it with cursor. There are no event webhooks, so polling is how an integration learns about new messages. - [Get a conversation](https://docs.omnidim.io/docs/api-reference/whatsapp/getWhatsappConversation): One conversation: who owns it, the 24-hour window, whether the customer opted out, and the unread count. Poll it while a person is answering. - [Take over a conversation](https://docs.omnidim.io/docs/api-reference/whatsapp/takeOverWhatsappConversation): Take the conversation from the agent, so it stops replying and your team answers. Repeating it changes nothing. Hand it back with handBackWhatsappConversation when the person is done. - [Hand a conversation back](https://docs.omnidim.io/docs/api-reference/whatsapp/handBackWhatsappConversation): Give the conversation back to the agent, and clear a pause. The agent answers the customer's next message. Repeating it changes nothing. - [List messages](https://docs.omnidim.io/docs/api-reference/whatsapp/listWhatsappMessages): One conversation's messages, newest first. Poll forward with after (the id of the newest message you already have) to get only new ones. Page backward through history with cursor. Do not pass both. - [Send a message](https://docs.omnidim.io/docs/api-reference/whatsapp/sendWhatsappMessage): Send one message through phone_number_id to a customer, in a text, a template, an image or a document. Set type and the matching field. - [Get a message](https://docs.omnidim.io/docs/api-reference/whatsapp/getWhatsappMessage): One message with its timeline: the delivery and read steps, oldest first. Poll it after a send to learn whether the message was delivered and read. Also shows what the send cost once it is charged. - [Upload media](https://docs.omnidim.io/docs/api-reference/whatsapp/uploadWhatsappMedia): Upload an image or a document, then send it by its media_id on sendWhatsappMessage. Uploading costs nothing; only the send is charged. The media_id works for 24 hours and only for the number and type it was uploaded for. - [List opt-outs](https://docs.omnidim.io/docs/api-reference/whatsapp/listWhatsappOptOuts): Who opted out of messages from this number, oldest first. By default it lists active opt-outs only. - [Block a customer](https://docs.omnidim.io/docs/api-reference/whatsapp/addWhatsappOptOut): Stop every message you start to this customer from this number, until the block is lifted. The response is 201 when the block is new and 200 when the customer was already blocked, in which case the entry is returned unchanged. - [Lift a block](https://docs.omnidim.io/docs/api-reference/whatsapp/liftWhatsappOptOut): Lift a block you added, or a marketing block made in WhatsApp. The entry stays in the list with active: false. A customer's own STOP cannot be lifted over the API: only the customer lifting it in WhatsApp, or messaging you again, brings them back. - [List campaigns](https://docs.omnidim.io/docs/api-reference/whatsapp/listWhatsappCampaigns): Your WhatsApp campaigns, oldest first. Filter by status or by number. - [Create a campaign](https://docs.omnidim.io/docs/api-reference/whatsapp/createWhatsappCampaign): Create a campaign as a draft. It sends nothing until you launch it. Add contacts and launch it in the next calls. Only an approved template can be used, so every campaign starts with one. Scheduling is not offered. - [Get a campaign](https://docs.omnidim.io/docs/api-reference/whatsapp/getWhatsappCampaign): One campaign with its counts and analytics: per-source figures and the failed contacts grouped by reason. delivery_rate and read_rate are null on a number that does not report receipts. - [List campaign contacts](https://docs.omnidim.io/docs/api-reference/whatsapp/listWhatsappCampaignContacts): Per-contact status for a campaign, oldest first. A contact that read the message and then replied STOP counts as read and opted out. - [Add campaign contacts](https://docs.omnidim.io/docs/api-reference/whatsapp/addWhatsappCampaignContacts): Add one contact, or up to 500 at once. On a draft they are stored for launch. On a running campaign they are sent now. A contact already in the campaign is skipped, so a retry is safe. Each contact needs a phone_number; every other key is kept and can fill a template parameter through variable_mapping. - [Launch a campaign](https://docs.omnidim.io/docs/api-reference/whatsapp/launchWhatsappCampaign): Start a draft campaign: every pending contact is queued once. Needs at least one contact, unless the campaign's data_source is webhook. The plan's monthly broadcast allowance and the wallet balance are checked here. Idempotency-Key is required, so a retry does not start it twice. - [Pause a campaign](https://docs.omnidim.io/docs/api-reference/whatsapp/pauseWhatsappCampaign): Stop sending until you resume. Only a running campaign can be paused. A pause you make by hand is never resumed automatically. - [Resume a campaign](https://docs.omnidim.io/docs/api-reference/whatsapp/resumeWhatsappCampaign): Resume a paused campaign. Contacts still pending are sent; a contact already sent is never sent again. The wallet and allowance are checked again, so a resume can answer 402. - [Cancel a campaign](https://docs.omnidim.io/docs/api-reference/whatsapp/cancelWhatsappCampaign): Stop a campaign for good. Contacts not yet sent are not sent. A completed or already-canceled campaign cannot be canceled. - **Run calls** - Calls: Dispatch calls to phone numbers, retrieve call logs, and inspect individual call sessions. - [Dispatch call](https://docs.omnidim.io/docs/api-reference/calls/dispatchCall): Initiate a call to a phone number using a specified agent. The phone number must include a country code with a leading plus. - [List call logs](https://docs.omnidim.io/docs/api-reference/calls/listCallLogs): Retrieve call logs with pagination and optional filtering. - [Get call log](https://docs.omnidim.io/docs/api-reference/calls/getCallLog): Detailed information about a specific call (duration, status, transcript, sentiment, extracted variables). - Bulk calls: Run outbound campaigns against a contact list. Schedule, retry, pause, resume, and monitor live status. - [Fetch bulk calls](https://docs.omnidim.io/docs/api-reference/bulk-calls/fetchBulkCalls): List bulk-call campaigns with pagination and optional status filter. - [Create bulk call](https://docs.omnidim.io/docs/api-reference/bulk-calls/createBulkCall): Create a new bulk-call campaign. Only name, phone_number_id and a contact_list are needed to dial a list now; every other field adds one behavior on top (drafts, rotation, filtering, scheduling, retries, dynamic feeding). - [Add contact to dynamic campaign](https://docs.omnidim.io/docs/api-reference/bulk-calls/addBulkCallContact): Push a single contact into a dynamic bulk-call campaign in real time. Dynamic campaigns are created from the dashboard (Bulk Call > Create New Campaign > Dynamic Campaign) and stay alive waiting for contacts, so this webhook is how you feed them from a CRM, form, or automation platform. The contact is queued immediately, and the campaign starts calling it as soon as it is within operating hours. - [Bulk call details](https://docs.omnidim.io/docs/api-reference/bulk-calls/getBulkCall): Get detailed information about a bulk-call campaign. - [Cancel bulk call](https://docs.omnidim.io/docs/api-reference/bulk-calls/cancelBulkCall): Cancel a scheduled bulk-call campaign. A campaign that is already running, or is still a draft, is refused. - [Bulk call actions](https://docs.omnidim.io/docs/api-reference/bulk-calls/bulkCallActions): Pause, resume, or reschedule a running campaign. - [Bulk call results](https://docs.omnidim.io/docs/api-reference/bulk-calls/listBulkCallLines): Per-contact results for a campaign: what happened on each call, the variables you sent with that contact, and a pointer to the recording. - [List rotation pool](https://docs.omnidim.io/docs/api-reference/bulk-calls/listBulkCallNumbers): The campaign's number pool, and which number is dialing right now. - [Add number to rotation pool](https://docs.omnidim.io/docs/api-reference/bulk-calls/addBulkCallNumber): Add one of your numbers to the campaign's rotation pool. Works while the campaign is running, which is how you bring in a fresh number when the pool is running out of healthy ones. - [Pause or resume a pool number](https://docs.omnidim.io/docs/api-reference/bulk-calls/setBulkCallNumberActive): Stop or resume dialing from one number in the pool. - [Add contacts in bulk](https://docs.omnidim.io/docs/api-reference/bulk-calls/addBulkCallContacts): Add up to 1000 contacts to a campaign in one request. - [Start a draft campaign](https://docs.omnidim.io/docs/api-reference/bulk-calls/startBulkCall): Start a campaign that was created with save_as_draft: true. - [Change concurrency](https://docs.omnidim.io/docs/api-reference/bulk-calls/setBulkCallConcurrency): Change how many calls the campaign places at once, including while it is running. Raise it to finish sooner, lower it if your team cannot keep up with transfers or your numbers are being answered less. - [Change rotation settings](https://docs.omnidim.io/docs/api-reference/bulk-calls/setBulkCallRotation): Change how a campaign uses its number pool. Send only the fields you want to change. At least one field is required. - [Retry contacts that did not connect](https://docs.omnidim.io/docs/api-reference/bulk-calls/retryBulkCall): Re-queue contacts that did not connect, without creating a new campaign. - [Set calling hours](https://docs.omnidim.io/docs/api-reference/bulk-calls/setBulkCallDailyTimeControl): Restrict a campaign to a daily calling window, in the campaign's timezone. Outside the window the campaign holds rather than finishing, and resumes the next day. - [Bulk call live status](https://docs.omnidim.io/docs/api-reference/bulk-calls/getBulkCallLiveStatus): Real-time status of a running bulk-call campaign. - Sessions: Create short-lived Sessions for web calls: your server trades its API key for a per-conversation token and a ready-to-use WebSocket URL, so your client can talk to an agent without any credential in the page. - [Create session](https://docs.omnidim.io/docs/api-reference/sessions/createSession): Create a voice Session: a short-lived, single-conversation reservation that lets a client hold a live voice chat with your agent. This is step 1 of 2. Creating the Session does not start any audio on its own; it returns a ws_url that a client then connects to over WebSocket to actually talk. - **Automation** - Workflows: Build and run workflows over the API: find node types, create a workflow, edit its draft, test it, publish it and turn it on or off. Edits change the draft only. Publish makes the draft live. For the concepts, see the [Workflows guide](https://docs.omnidim.io/docs/workflows). The Workflow Builder must be included in your plan. - [List workflow node types](https://docs.omnidim.io/docs/api-reference/workflows/listWorkflowNodeTypes): Search the node types a workflow can use, such as `whatsapp`, `voice_ai` or `conditional`. Call it first when you do not know which node to add. Then call `getWorkflowNodeType` for the settings of one type. - [Get a workflow node type](https://docs.omnidim.io/docs/api-reference/workflows/getWorkflowNodeType): The settings one node type reads, with their types, required flags and outputs. Call it before you add or edit a node, because its `fields` are the keys of the node's `config`. Use `detail=full` only when you need help text and examples. - [List choices for a node field](https://docs.omnidim.io/docs/api-reference/workflows/listWorkflowFieldOptions): The choices for one `ref` field of a node type, such as the phone numbers, agents or integrations in your account. Call it for every `ref` field and never guess an id. If it returns `400 no_options`, the field is not chosen from a list, so ask the user for the value. - [List workflows](https://docs.omnidim.io/docs/api-reference/workflows/listWorkflows): Your workflows, oldest first, one cursor page at a time. Use it to find a workflow id. Pass back `next_cursor` until it is `null`. - [Create a workflow](https://docs.omnidim.io/docs/api-reference/workflows/createWorkflow): Create a workflow with a draft. Without `graph`, the draft holds one `trigger` node, ready for `editWorkflow` ops. Pass `graph` only to start from a complete graph. The response carries the `revision` you need to edit. - [Get a workflow](https://docs.omnidim.io/docs/api-reference/workflows/getWorkflow): One workflow with its draft, status and `revision`. Call it before every edit to get the current `revision`. Use `view=structure` to see nodes and edges without config on a large workflow. Secrets read back as `********`. - [Edit a workflow draft](https://docs.omnidim.io/docs/api-reference/workflows/editWorkflow): Change the draft with a list of `ops`: add, update, move or delete nodes, and connect or disconnect them. The ops apply all together or not at all. You must send the `revision` from your last read. If you get `409 revision_conflict`, read the workflow again and retry. Secrets read back as `********`. Send them back unchanged to keep the stored value. This edits the draft only. Use `publishWorkflow` to make it live. - [Delete a workflow](https://docs.omnidim.io/docs/api-reference/workflows/deleteWorkflow): Delete a workflow. Its published version stops running. This cannot be undone, so confirm with the user first. To stop it without deleting, use `deactivateWorkflow`. - [Validate a workflow draft](https://docs.omnidim.io/docs/api-reference/workflows/validateWorkflow): Check the draft and list what blocks publish. It changes nothing. Call it after your edits and fix every error before `publishWorkflow`. - [Publish a workflow](https://docs.omnidim.io/docs/api-reference/workflows/publishWorkflow): Make the draft the live version. Real events then run it, unless the workflow is paused. Run `validateWorkflow` first: publish is refused while the draft has errors. Ask the user before you publish. - [Activate a workflow](https://docs.omnidim.io/docs/api-reference/workflows/activateWorkflow): Turn the published workflow on, so real events run it. Use it to resume a workflow you paused with `deactivateWorkflow`. - [Deactivate a workflow](https://docs.omnidim.io/docs/api-reference/workflows/deactivateWorkflow): Turn the published workflow off, so real events stop running it. The workflow and its draft stay. Use `activateWorkflow` to turn it back on. - [Test a workflow](https://docs.omnidim.io/docs/api-reference/workflows/testWorkflow): Runs the draft once with payload as the trigger data. Every node runs for real: WhatsApp messages, SMS, emails and calls go out and CRM records change. Ask the user before calling it, and use their own phone number or email in the payload. It returns an `execution_id` at once. Poll `getWorkflowExecution` for the result. - [Get a workflow run](https://docs.omnidim.io/docs/api-reference/workflows/getWorkflowExecution): One run of a workflow, with the result of each step. Use it to read the outcome of `testWorkflow`. A run is finished when `state` is `completed`, `failed` or `cancelled`. - **Test** - Simulation: Run automated agent test simulations with scenarios and quick-test workflows. - [List simulations](https://docs.omnidim.io/docs/api-reference/simulation/listSimulations): Retrieve simulations with pagination. - [Create simulation](https://docs.omnidim.io/docs/api-reference/simulation/createSimulation): Create a new test simulation with scenarios. - [Get simulation](https://docs.omnidim.io/docs/api-reference/simulation/getSimulation): Detailed simulation information. - [Delete simulation](https://docs.omnidim.io/docs/api-reference/simulation/deleteSimulation): Permanently delete a simulation. - [Update simulation](https://docs.omnidim.io/docs/api-reference/simulation/updateSimulation): Update an existing simulation. Pass the full `scenarios` array (existing entries you want to keep plus any changes). - [Start simulation](https://docs.omnidim.io/docs/api-reference/simulation/startSimulation): Begin running a simulation. Optionally update scenarios at start time (same shape as Update simulation). - [Stop simulation](https://docs.omnidim.io/docs/api-reference/simulation/stopSimulation): Stop a running simulation. - [Enhance prompt](https://docs.omnidim.io/docs/api-reference/simulation/enhancePrompt): Generate prompt-improvement suggestions for a completed simulation. - [Apply enhanced prompt](https://docs.omnidim.io/docs/api-reference/simulation/applyEnhancedPrompt): Rewrite the agent's prompt sections from a completed simulation's suggestions. The agent's current sections are replaced, so save a version first if you may want them back. To review a proposed rewrite without applying it, call `enhancePrompt`. The applied text is generated again and can differ slightly from that preview. - [Generate test scenarios](https://docs.omnidim.io/docs/api-reference/simulation/generateAutoScenarios): Write test scenarios for an agent from its prompt. Each scenario has a name, the steps the simulated caller follows, and how the agent should respond. Nothing is saved: pass the ones you want to `createSimulation`. - **Account** - Account: Read your own account: wallet balance, the rates it is spent at, the minutes it buys, your plan, and your concurrency headroom. - [Get account balance](https://docs.omnidim.io/docs/api-reference/account/getAccountBalance): Read your organization's wallet: the remaining balance, the minutes it buys at your rates, your plan, your concurrency headroom, and whether auto-recharge will refill it. - **Reseller** - Reseller clients: Create and manage your client accounts: onboard them, control what they can do, block or restore them, release them, issue their API keys, and set their concurrency. To buy a client a phone number, use the Phone numbers endpoints with a `user_id`. Reseller plan only. [Buy the Reseller plan](https://omnidim.io/pricing?tab=agency) to get access. - [List child organizations](https://docs.omnidim.io/docs/api-reference/reseller-clients/listChildOrganizations): List all child organizations and their users under the reseller account. Returns each organization's balance, cost-per-minute rate, and concurrency limit, plus the dashboard menu access flags scoped to your reseller's permissions for every user. - [Add user](https://docs.omnidim.io/docs/api-reference/reseller-clients/addUser): Create a new child user and organization under the reseller. The new organization is linked to your reseller account automatically. - [Update user access control](https://docs.omnidim.io/docs/api-reference/reseller-clients/setUserAccessControl): Enable or disable dashboard menu access flags for a child user. Only the flags you pass are changed. Flags outside your reseller's permissions are silently ignored. - [Block or restore a client](https://docs.omnidim.io/docs/api-reference/reseller-clients/setClientAccess): Block a client, or restore one you blocked. Nothing is deleted, so the client's agents, numbers, campaigns and history stay as they are and a restore brings the client back as it was. - [Preview releasing a client](https://docs.omnidim.io/docs/api-reference/reseller-clients/previewClientRelease): What releasing a client would do, changing nothing. Call it before POST /reseller/clients/release to confirm the amounts and the numbers that come back. - [Release a client](https://docs.omnidim.io/docs/api-reference/reseller-clients/releaseClient): End your relationship with one direct client, for good. One-way: unlike blocking, a release cannot be undone. - [Update user expiry](https://docs.omnidim.io/docs/api-reference/reseller-clients/setUserExpiry): Set or remove the expiry date on a child user. The user must belong to a child organization of your reseller. - [Issue a client API key](https://docs.omnidim.io/docs/api-reference/reseller-clients/issueChildApiKey): Issue a named API key for a user in one of your client organizations. The secret is in this response only, so store it now. No listing shows it again. To rotate a key, issue a new one, switch the integration to it, then revoke the old one. - [Revoke a client API key](https://docs.omnidim.io/docs/api-reference/reseller-clients/revokeChildApiKey): Revoke one of a client user's API keys. The key stops working on the next request. Pass the key's api_key_id, or 0 for the default key every account gets at signup. Revoking a key that is already revoked succeeds. GET /reseller/organizations lists each user's active keys by id and name. - [Set child concurrency limit](https://docs.omnidim.io/docs/api-reference/reseller-clients/setChildConcurrency): Set the maximum number of simultaneous calls a client can run. new_limit is the absolute figure you want, not a change to the current one. - Reseller credits: Fund your clients with credits at a rate you set, take unused minutes back, and read every move. Reseller accounts only. - [Calculate credit operation](https://docs.omnidim.io/docs/api-reference/reseller-credits/calculateCreditOperation): Preview the cost of a transfer or revert without moving any credits. Use this to confirm amounts before calling the transfer or revert endpoints. The response shape differs between forward transfers and reverts. See the examples. - [Transfer credits to a child](https://docs.omnidim.io/docs/api-reference/reseller-credits/transferCreditsToChild): Transfer minutes from your balance to a client, at the rate you set. - [Revert credits](https://docs.omnidim.io/docs/api-reference/reseller-credits/revertCreditsFromChild): Take unused minutes back from a client. The exact mirror of a transfer, so you do not pass a rate. - [Credit transfer logs](https://docs.omnidim.io/docs/api-reference/reseller-credits/getResellerCreditLogs): Paginated history of all credit transfers and reverts for the reseller account. Returns reverse-chronological order by default. Date filters are inclusive. - Reseller verification: Verify a client's identity, carrier by carrier, so it can buy a phone number where the region requires it. Reseller accounts only. - [Get KYC status](https://docs.omnidim.io/docs/api-reference/reseller-verification/getResellerKycStatus): Get the identity verification status of a client for every carrier it can verify on. Use next_step to know which step to call next, so you drive the whole flow off one poll instead of hardcoding the sequence. - [Get KYC requirements for a region](https://docs.omnidim.io/docs/api-reference/reseller-verification/getResellerKycRequirements): Get the ordered list of verification steps for a carrier and the fields each step needs, so your integration can build a verification form without hardcoding the sequence. - [Submit a KYC verification step](https://docs.omnidim.io/docs/api-reference/reseller-verification/submitResellerKycStep): Run one step of a client's identity verification. One endpoint handles every step: the step path parameter names the step, and the body carries user_id, region, carrier, and whatever that step needs. The example below is the register step on carrier-1. - Reseller identity: Set the brand your clients see on their email and hear on the verification call, and send through your own SMTP. Reseller accounts only. - [Get brand identity](https://docs.omnidim.io/docs/api-reference/reseller-identity/getResellerIdentity): Read your brand and your custom email server settings. The brand is what your client organizations see: your brand name on their emails, and spoken in their verification calls. Your own emails do not change. - [Save brand identity](https://docs.omnidim.io/docs/api-reference/reseller-identity/saveResellerIdentity): Set the brand your client organizations see: your brand name and company name on their emails, and your brand name spoken in their verification calls. The first save creates the brand. Later saves change only the fields you send. Your own emails do not change. - [Save custom email server](https://docs.omnidim.io/docs/api-reference/reseller-identity/saveResellerIdentitySmtp): Send your clients' emails through your own email server, so they come from your domain. The server is checked with a live login before anything is saved. If the login fails, nothing changes and the response is 400 with the reason. Save your brand first. - [Test custom email server](https://docs.omnidim.io/docs/api-reference/reseller-identity/testResellerIdentitySmtp): Check that a login to an email server works. Nothing is saved and nothing changes for your clients. Use it before POST /reseller/identity/smtp/save. - [Disable custom email server](https://docs.omnidim.io/docs/api-reference/reseller-identity/disableResellerIdentitySmtp): Stop sending your clients' emails through your own email server. Their emails go back to the default sender. The saved server and its login are kept, so you can switch it on again with POST /reseller/identity/smtp/save. Your brand is not changed. - Reseller usage: Read what your clients used and spent, what you earned on them, and how long your balance and theirs will last. The same figures as the Analytics page in your dashboard. Read-only. Reseller accounts only. - [Get usage across your clients](https://docs.omnidim.io/docs/api-reference/reseller-usage/getResellerUsage): Your whole book for one period: each client's minutes, calls, spend and the margin you made on it, your totals, how long your balance will last, and your recurring revenue. - [Get one client's usage](https://docs.omnidim.io/docs/api-reference/reseller-usage/getResellerClientUsage): One client's statement for a period: its spend by type, its calls broken down by day, agent, campaign, number and direction, the numbers and channels it bought, and the margin you made on it. - SDKs - [SDKs](https://docs.omnidim.io/docs/sdks): Official OmniDimension SDKs for the backend and the browser. - **Server SDKs** - [Python SDK](https://docs.omnidim.io/docs/sdks/python): The omnidimension Python package. Install with pip and start calling the API. - [TypeScript SDK](https://docs.omnidim.io/docs/sdks/typescript): The @omnidim-ai/sdk package. A typed, server-side SDK for the OmniDimension API. - **Client SDKs** - [Web widget](https://docs.omnidim.io/docs/sdks/web-widget): Embed your agent in the browser with a no-code script. - [Web SDK](https://docs.omnidim.io/docs/sdks/web): The @omnidim-ai/client package. Put a live voice conversation with your agent on any page with the WebSession class. - MCP - [Overview](https://docs.omnidim.io/docs/mcp): Connect Claude, ChatGPT, Cursor, and any MCP-compatible client to your OmniDimension account. Hosted OAuth at mcp.omnidim.io, or local stdio via the npm package. - **Connect via cloud** - [Overview](https://docs.omnidim.io/docs/mcp/connect): One connector for every MCP client. Add OmniDimension as a custom server in Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, or Codex. Browser sign-in on the first call. - [Claude Code](https://docs.omnidim.io/docs/mcp/connect/claude-code): Connect OmniDimension to Claude Code in one terminal command. OAuth sign-in via the browser, then use OmniDimension tools from any Claude Code session. - [Claude Desktop](https://docs.omnidim.io/docs/mcp/connect/claude-desktop): Add OmniDimension as a custom connector in Claude Desktop or Claude.ai web. Paste one URL, sign in, and Claude can drive your voice agents directly. - [Cursor](https://docs.omnidim.io/docs/mcp/connect/cursor): Add OmniDimension to Cursor by editing ~/.cursor/mcp.json. OAuth sign-in on first tool call, no API key handling. - [VS Code](https://docs.omnidim.io/docs/mcp/connect/vscode): Add OmniDimension to VS Code via user settings. HTTP MCP transport, OAuth sign-in handled in the browser. - [Windsurf](https://docs.omnidim.io/docs/mcp/connect/windsurf): Add OmniDimension to Windsurf via ~/.codeium/windsurf/mcp_config.json. OAuth sign-in in the browser, no API key handling. - [Codex](https://docs.omnidim.io/docs/mcp/connect/codex): Connect OmniDimension to Codex in one terminal command. OAuth sign-in via the browser, shared config across the Codex CLI, IDE extension, and the ChatGPT desktop app. - **Local server** - [Local MCP server](https://docs.omnidim.io/docs/mcp/local-server): Run the OmniDimension MCP server locally as a stdio child process. Distributed as @omnidim-ai/mcp-server on npm. One command auto-configures every detected MCP client. - **Reference** - [Privacy and telemetry](https://docs.omnidim.io/docs/mcp/privacy): What data the MCP servers see, what we log, what we never store. Covers both the hosted cloud server at mcp.omnidim.io and the local npm package.