Create a Ringg AI agent from a blank or industry template in the Create Assistant dialog, or with POST /public/agent, then open it in the editor to test.
For a template, Ringg writes the first prompt from the company and call details you enter; the API creates single-prompt voice agents only. Not sure which type you need? See Build each type.
Before you start
A Ringg workspace
Sign in to the dashboard; agents are created from its Agents page.
An API key
Optional: only for the API path below.
In the dashboard
Sidebar → Assistants → Create agent. The video shows the whole flow, from the Agents page to the editor.
Creating a single-prompt agent in the dashboard
1
Pick a channel
On the Agents page, click Create agent. In the Create Assistant dialog, choose a tab: Outbound, Inbound, Webcall or WhatsApp (which one?). The templates below change with the tab. A WhatsApp agent also needs a connected WhatsApp Business number; follow Create a WhatsApp agent for that path.
2
Pick a starting point
The left rail has Blank Template (selected by default), Select industry templates (Logistics, Healthcare, Financial, Education, HR & Recruitment, eCommerce) and Plugins → Zapier.With Blank Template selected, the dialog shows two groups:
Create from scratch: a general single-prompt template for the chosen channel, and Multi Prompt (“Create assistant from scratch for complex workflows.”), which is not offered on the WhatsApp tab.
Choose from templates: ready-made templates for the channel. Some have a Play Demo button that plays a sample call.
Pick an industry to see only its templates, or Zapier for the Zapier ones. Click a card to continue.
The Create Assistant dialog on the Outbound tab
3
Fill in Agent basics (single-prompt)
Agent basics: Agent Name (required), Primary Language (required; starts on the template’s language, or en-IN) and Secondary Language (optional; only languages that pair with the primary are listed, after None). A name like EMI reminder - Hindi tells your team the use case and language at a glance in the agent list and Logs.
Set up voice: pick a voice from the grid. Selecting a voice plays its preview. Filter by provider tab (All, then each provider) or click See more for the full list. The grid shows only voices for the selected languages; you can change languages and voice later (Voice and language).
Step 1: agent basics and voice
Click Next. It checks the fields in order and stops with “Agent name is required”, “Please select a language” or “Please select a voice”; a voice must be selected, not only previewed.
4
Fill in the call context
The second step holds what the template needs to write your prompt:
Call context: the template’s own fields, such as company details and the purpose of the call. Fields marked * are required. Type @ in a field to insert a variable, or to create one (Write the prompt).
Custom variables: values that change per call (Variables). Variables that come with the template cannot be removed. Names are lowercased and spaces become _ as you type.
Knowledge Base: attach one or more knowledge bases. Don’t have one yet? Create a knowledge base.
Inbound Calling (Outbound only): Enabled lets this outbound agent also answer calls (an Outbound-Inbound agent). Default Disabled.
Select Phone Number (Inbound only) or Select WhatsApp Number (WhatsApp only): pick the Telephony provider, then the Number the agent answers on. Optional: you can attach it later. Don’t have one yet? Buy or import a number, or connect WhatsApp.
Step 2: call context
Click Create Assistant. Back returns to the first step without losing your entries. “Please fill in all required fields” means a Call context field is empty; the page scrolls to it and outlines it in red.
5
Land in the editor
A progress screen shows while Ringg writes the prompt (“This usually takes under a minute”).
You see Assistant created and the agent opens in the single-prompt editor at /assistants/<agent_id>, with its name and Test assistant in the top bar. On the Agents page it is at the top of Edited last week, labelled with its channel and direction, for example Voice • Outbound.
Multi-prompt agents
Clicking Multi Prompt skips the form: Ringg creates an agent named Untitled Workflow and opens the canvas. Rename the agent from its name in the top bar, then build the flow: Multi-prompt agents.
With the API
Send POST /public/agent with your API key in X-API-KEY (authentication). It creates a single-prompt agent and returns its ID. Get a voice_id from List Voices first. The API cannot create Webcall, WhatsApp or multi-prompt agents; use the dashboard for those.
curl -X POST "https://prod-api.ringg.ai/ca/api/v0/public/agent" \ -H "X-API-KEY: $RINGG_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "agent_name": "Payment reminder", "agent_type": "outbound", "primary_language": "en-IN", "secondary_language": "hi-IN", "voice_id": "857e1b18-0adb-4b3e-b150-ce7896a16bf1", "intro_message": "Hello, this is Asha from Acme Finance. Is this a good time to talk?", "introduction_and_objective": "You are Asha, a polite collections assistant for Acme Finance. Remind the customer of their upcoming EMI and confirm a payment date.", "task": "Confirm identity, state the EMI amount and due date, ask when they will pay, and note the date.", "response_guidelines": "Be brief and respectful. Never threaten. If the customer disputes the amount, offer a callback from the team.", "custom_variables": ["callee_name", "mobile_number", "emi_amount", "due_date"] }'
const response = await fetch("https://prod-api.ringg.ai/ca/api/v0/public/agent", { method: "POST", headers: { "X-API-KEY": process.env.RINGG_API_KEY, "Content-Type": "application/json", }, body: JSON.stringify({ agent_name: "Payment reminder", agent_type: "outbound", primary_language: "en-IN", secondary_language: "hi-IN", voice_id: "857e1b18-0adb-4b3e-b150-ce7896a16bf1", intro_message: "Hello, this is Asha from Acme Finance. Is this a good time to talk?", introduction_and_objective: "You are Asha, a polite collections assistant for Acme Finance. Remind the customer of their upcoming EMI and confirm a payment date.", task: "Confirm identity, state the EMI amount and due date, ask when they will pay, and note the date.", response_guidelines: "Be brief and respectful. Never threaten. If the customer disputes the amount, offer a callback from the team.", custom_variables: ["callee_name", "mobile_number", "emi_amount", "due_date"], }),});console.log(await response.json());
import osimport requestsresponse = requests.post( "https://prod-api.ringg.ai/ca/api/v0/public/agent", headers={"X-API-KEY": os.environ["RINGG_API_KEY"]}, json={ "agent_name": "Payment reminder", "agent_type": "outbound", "primary_language": "en-IN", "secondary_language": "hi-IN", "voice_id": "857e1b18-0adb-4b3e-b150-ce7896a16bf1", "intro_message": "Hello, this is Asha from Acme Finance. Is this a good time to talk?", "introduction_and_objective": "You are Asha, a polite collections assistant for Acme Finance. Remind the customer of their upcoming EMI and confirm a payment date.", "task": "Confirm identity, state the EMI amount and due date, ask when they will pay, and note the date.", "response_guidelines": "Be brief and respectful. Never threaten. If the customer disputes the amount, offer a callback from the team.", "custom_variables": ["callee_name", "mobile_number", "emi_amount", "due_date"], },)print(response.json())
data.id is the agent_id you pass to calling and campaign endpoints. Get Agent returns the new agent, and it is on the Agents page in the dashboard.
Likeliest error:400 with code VOICE_LANGUAGE_MISMATCH: the voice does not support primary_language. Pick a voice from List Voices whose languages include it.intro_message becomes the agent’s First message. The other text fields become four prompt sections, shown in the editor as Objective, Response Guidelines, Conversation Script (task, with sample_conversations appended) and FAQs; open the agent in the dashboard to review them (Write the prompt). An AI assistant can also create agents for you through the Ringg MCP server.
Request fields
The Create Agent reference lists every field. The essentials:
Per-call variables. For outbound agents, callee_name and mobile_number are always added.
string
A second locale the agent can switch to.
string
Questions and answers; up to 5,000 characters.
string
Example conversations; up to 5,000 characters. Use \n between turns.
object
Call behaviour; every key is optional. See Call settings for the keys.
Troubleshooting
"Template not available"
The general template for that channel could not be loaded. Close the dialog and try again, or start from an industry template.
Do I need a number before I create the agent?
No. Outbound agents never store a number: you pick the caller ID per call or campaign. Inbound and WhatsApp agents can be created without one and have it attached later.
Next steps
Write the prompt
Edit the first message and the sections Ringg wrote.
Test the agent
Call yourself, or talk to it in the browser, before going live.
Buy or import a number
The caller ID for outbound calls, or the line an inbound agent answers.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ringg AI","description":"Build AI agents that make and answer phone calls, talk on your website and chat on WhatsApp, then run them from the Ringg AI dashboard or REST API.","colors":{"primary":"#0A0A0B","light":"#FFFFFF","dark":"#0A0A0B"},"logo":{"light":"https://mintcdn.com/ringgai-0da73d20/ZLVFI55VhZ4gmYrF/logo/light.svg?fit=max\u0026auto=format\u0026n=ZLVFI55VhZ4gmYrF\u0026q=85\u0026s=053f22dbaf5140cd8e5dadb1d4d057cd","dark":"https://mintcdn.com/ringgai-0da73d20/ZLVFI55VhZ4gmYrF/logo/dark.svg?fit=max\u0026auto=format\u0026n=ZLVFI55VhZ4gmYrF\u0026q=85\u0026s=cf9075384ec572e1a19b939d5a8674af","href":"https://www.ringg.ai"},"favicon":"https://mintcdn.com/ringgai-0da73d20/ZLVFI55VhZ4gmYrF/favicon.svg?fit=max\u0026auto=format\u0026n=ZLVFI55VhZ4gmYrF\u0026q=85\u0026s=e612fcf76df43d6468baa340dc3fde50","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","python","javascript"]},"mdx":{"auth":{"method":"key","name":"X-API-KEY"},"server":"https://prod-api.ringg.ai/ca/api/v0"}},"appearance":{"default":"dark"},"background":{"decoration":"grid"},"navbar":{"links":[{"href":"/resources/learn/all-lessons","label":"Learn"},{"href":"mailto:admin@ringg.ai","label":"Contact us"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.ringg.ai/dashboard"}},"footer":{"socials":{"x":"https://x.com/ringg_ai","linkedin":"https://www.linkedin.com/company/ringg","youtube":"https://www.youtube.com/@RinggAI","instagram":"https://www.instagram.com/ringg_ai","discord":"https://discord.gg/YuEnb8Vsca"},"links":[{"header":"For AI agents","items":[{"label":"llms.txt","href":"https://docs.ringg.ai/llms.txt"},{"label":"skill.md","href":"https://docs.ringg.ai/skill.md"},{"label":"OpenAPI spec","href":"https://docs.ringg.ai/api-reference/openapi.json"},{"label":"MCP server","href":"/resources/mcp-server/docs-mcp-server/mcp-for-ai-assistants"}]}]},"search":{"prompt":"Search the docs"},"seo":{"metatags":{"canonical":"https://docs.ringg.ai","og:site_name":"Ringg AI Docs","twitter:site":"@ringg_ai"},"organization":{"id":"https://www.ringg.ai/#organization","legalName":"Stoic AI Private Limited","url":"https://www.ringg.ai","logo":"https://assets.ringg.ai/images/logo/logo.svg","sameAs":["https://x.com/ringg_ai","https://www.linkedin.com/company/ringg","https://www.youtube.com/@RinggAI","https://www.instagram.com/ringg_ai","https://discord.gg/YuEnb8Vsca"]}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":false},"errors":{"404":{"redirect":false,"title":"This page doesn't exist","description":"It may have moved in the docs rebuild. The suggestions below usually have it; otherwise start from [the introduction](/get-started/ringg-ai) or search above."}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","download-spec"],"display":"header"},"markdown":{"instructions":["To search or read these docs, connect the Ringg docs MCP server at https://docs.ringg.ai/mcp (no key needed; tools search_ringg_ai and query_docs_filesystem_ringg_ai) instead of browsing pages one by one. Setup for each client: https://docs.ringg.ai/resources/mcp-server/docs-mcp-server/mcp-for-ai-assistants.md","The dashboard labels agents \"Assistants\"; these docs say \"agent\". Both mean the same object, identified by agent_id.","API base URL: https://prod-api.ringg.ai/ca/api/v0. Send the workspace API key in the X-API-KEY header, from server-side code only.","Placing a call dials a real phone number and spends credits. Confirm the number with the user before calling.","To act on a Ringg workspace (place calls, edit agents, read transcripts), use the separate Ringg workspace MCP server at https://mcp.ringg.ai/mcp: https://docs.ringg.ai/resources/mcp-server/workspace-mcp-server/overview.md"]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ringgai-0da73d20","hasAudioNarration":false,"actualSubdomain":"ringgai-0da73d20","customDomains":["docs.ringg.ai"],"gitSource":{"type":"github","owner":"stonkr","repo":"ringg-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true,"edits":true,"issues":true},"entitlements":{},"buildId":"6af617e52d34b58e26d609a9","clientVersion":"0.0.4177","searchFilterCounts":[{"language":"default","tag":"Documentation","count":90},{"language":"default","tag":"API reference","count":52},{"language":"default","tag":"Build agents","count":37},{"language":"default","tag":"Resources","count":34},{"language":"default","tag":"Learn","count":27},{"language":"default","tag":"Inventory","count":23},{"language":"default","tag":"Deploy","count":22},{"language":"default","tag":"Customize agent behaviour","count":19},{"language":"default","tag":"Agents","count":17},{"language":"default","tag":"Calling","count":15}],"searchSettings":{"showContentSnippets":true,"maxResults":8}},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"img.nav-logo{height:1.375rem!important;width:auto!important}.figure-card{display:flex;flex-direction:column;margin:0.5rem 0;overflow:hidden;border:1px solid rgb(10 10 11 / 0.08);border-radius:1rem;background:#ffffff;text-decoration:none!important;transition:border-color 150ms}.figure-card:hover{border-color:rgb(10 10 11 / 0.2)}.dark .figure-card{border-color:rgb(255 255 255 / 0.08);background:rgb(var(--background-dark))}.dark .figure-card:hover{border-color:rgb(255 255 255 / 0.2)}.figure-card-panel{display:flex;justify-content:center;height:12rem;margin:0.375rem 0.375rem 0;border-radius:0.75rem;-webkit-mask-image:linear-gradient(to bottom, #000 62%, transparent);mask-image:linear-gradient(to bottom, #000 62%, transparent);background:#f6f6f7 url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='384' height='256' fill='none' stroke='%230a0a0b' stroke-opacity='0.03' stroke-width='1.5'%3E%3Ccircle cx='32' cy='32' r='25'/%3E%3Ccircle cx='96' cy='32' r='25'/%3E%3Crect x='135' y='7' width='50' height='50' rx='8'/%3E%3Ccircle cx='224' cy='32' r='25'/%3E%3Ccircle cx='288' cy='32' r='25'/%3E%3Ccircle cx='352' cy='32' r='25'/%3E%3Ccircle cx='32' cy='96' r='25'/%3E%3Ccircle cx='96' cy='96' r='25'/%3E%3Ccircle cx='160' cy='96' r='25'/%3E%3Ccircle cx='224' cy='96' r='25'/%3E%3Ccircle cx='288' cy='96' r='25'/%3E%3Ccircle cx='352' cy='96' r='25'/%3E%3Ccircle cx='32' cy='160' r='25'/%3E%3Crect x='71' y='135' width='50' height='50' rx='8'/%3E%3Ccircle cx='160' cy='160' r='25'/%3E%3Ccircle cx='224' cy='160' r='25'/%3E%3Crect x='263' y='135' width='50' height='50' rx='8'/%3E%3Crect x='327' y='135' width='50' height='50' rx='8'/%3E%3Crect x='7' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='96' cy='224' r='25'/%3E%3Crect x='135' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='224' cy='224' r='25'/%3E%3Crect x='263' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='352' cy='224' r='25'/%3E%3C/svg%3E\") center / 192px 128px}.dark .figure-card-panel{background:#0f0f11 url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='384' height='256' fill='none' stroke='%23ffffff' stroke-opacity='0.025' stroke-width='1.5'%3E%3Ccircle cx='32' cy='32' r='25'/%3E%3Ccircle cx='96' cy='32' r='25'/%3E%3Crect x='135' y='7' width='50' height='50' rx='8'/%3E%3Ccircle cx='224' cy='32' r='25'/%3E%3Ccircle cx='288' cy='32' r='25'/%3E%3Ccircle cx='352' cy='32' r='25'/%3E%3Ccircle cx='32' cy='96' r='25'/%3E%3Ccircle cx='96' cy='96' r='25'/%3E%3Ccircle cx='160' cy='96' r='25'/%3E%3Ccircle cx='224' cy='96' r='25'/%3E%3Ccircle cx='288' cy='96' r='25'/%3E%3Ccircle cx='352' cy='96' r='25'/%3E%3Ccircle cx='32' cy='160' r='25'/%3E%3Crect x='71' y='135' width='50' height='50' rx='8'/%3E%3Ccircle cx='160' cy='160' r='25'/%3E%3Ccircle cx='224' cy='160' r='25'/%3E%3Crect x='263' y='135' width='50' height='50' rx='8'/%3E%3Crect x='327' y='135' width='50' height='50' rx='8'/%3E%3Crect x='7' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='96' cy='224' r='25'/%3E%3Crect x='135' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='224' cy='224' r='25'/%3E%3Crect x='263' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='352' cy='224' r='25'/%3E%3C/svg%3E\") center / 192px 128px}.figure-card-panel{--hairline-plate: #f6f6f7}.dark .figure-card-panel{--hairline-plate: #0f0f11}.figure-card-panel>[data-hairline]{width:13.75rem}.figure-card-text{flex:1;padding:0.25rem 1.25rem 1.25rem}.figure-card-title{font-weight:600;color:rgb(17 24 39)}.dark .figure-card-title{color:rgb(255 255 255)}.figure-card-body{margin-top:0.25rem;font-size:0.9375rem;line-height:1.6;color:rgb(75 85 99)}.dark .figure-card-body{color:rgb(161 161 170)}"}],"page":{"pagePath":"documentation/build-agents/agents/create-an-agent","slug":"/documentation/build-agents/agents/create-an-agent","pageMetadata":{"title":"Create an agent","sidebarTitle":"Create an agent","description":"Create a Ringg AI agent from a blank or industry template in the Create Assistant dialog, or with POST /public/agent, then open it in the editor to test.","boost":8,"og:title":"Create a voice, web or WhatsApp agent in Ringg AI","href":"/documentation/build-agents/agents/create-an-agent"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a Ringg AI agent from a blank or industry template in the Create Assistant dialog, or with POST /public/agent, then open it in the editor to test.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,Check,CodeBlock,CodeGroup,Columns,Frame,Heading,OptimizedImage,ResponseField,Step,Steps}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!Check)_missingMdxReference(`Check`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Columns)_missingMdxReference(`Columns`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`For a template, Ringg writes the first prompt from the company and call details you enter; the API creates single-prompt voice agents only. Not sure which type you need? See `,_jsx(_components.a,{href:`/documentation/build-agents/agents/agent-types#build-each-type`,children:`Build each type`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsxs(Columns,{cols:2,children:[_jsx(Card,{title:`A Ringg workspace`,icon:`log-in`,href:`/get-started/dashboard-tour#sign-in-for-the-first-time`,horizontal:true,children:_jsxs(_components.p,{children:[`Sign in to the dashboard; agents are created from its `,_jsx(_components.strong,{children:`Agents`}),` page.`]})}),_jsx(Card,{title:`An API key`,icon:`key`,href:`/documentation/manage-account/api-key`,horizontal:true,children:_jsx(_components.p,{children:`Optional: only for the API path below.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`in-the-dashboard`,children:`In the dashboard`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sidebar → Assistants → Create agent`}),`. The video shows the whole flow, from the Agents page to the editor.`]}),`\n`,_jsx(Frame,{caption:`Creating a single-prompt agent in the dashboard`,children:_jsx(`video`,{alt:`Creating a single-prompt agent in the dashboard`,\"aria-label\":`Creating a single-prompt agent in the dashboard`,controls:true,muted:true,playsInline:true,className:`mint-w-full mint-rounded-xl`,style:{aspectRatio:`16 / 10`},preload:`metadata`,controlsList:`nodownload noremoteplayback`,poster:`/media/agents-create/poster.webp`,children:_jsx(`source`,{src:`https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/video.webm?fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=dde4b3f463406a6112dae7dc08a290e7`,type:`video/webm; codecs=\"av01.0.09M.08\"`,\"data-path\":`media/agents-create/video.webm`})})}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Pick a channel`,children:_jsxs(_components.p,{children:[`On the `,_jsx(_components.strong,{children:`Agents`}),` page, click `,_jsx(_components.strong,{children:`Create agent`}),`. In the `,_jsx(_components.strong,{children:`Create Assistant`}),` dialog, choose a tab: `,_jsx(_components.strong,{children:`Outbound`}),`, `,_jsx(_components.strong,{children:`Inbound`}),`, `,_jsx(_components.strong,{children:`Webcall`}),` or `,_jsx(_components.strong,{children:`WhatsApp`}),` (`,_jsx(_components.a,{href:`/documentation/build-agents/agents/agent-types#agent-types-by-channel`,children:`which one?`}),`). The templates below change with the tab. A WhatsApp agent also needs a connected WhatsApp Business number; follow `,_jsx(_components.a,{href:`/documentation/build-agents/agents/whatsapp-agents/create-an-agent`,children:`Create a WhatsApp agent`}),` for that path.`]})}),_jsxs(Step,{title:`Pick a starting point`,children:[_jsxs(_components.p,{children:[`The left rail has `,_jsx(_components.strong,{children:`Blank Template`}),` (selected by default), `,_jsx(_components.strong,{children:`Select industry templates`}),` (`,_jsx(_components.strong,{children:`Logistics`}),`, `,_jsx(_components.strong,{children:`Healthcare`}),`, `,_jsx(_components.strong,{children:`Financial`}),`, `,_jsx(_components.strong,{children:`Education`}),`, `,_jsx(_components.strong,{children:`HR \u0026 Recruitment`}),`, `,_jsx(_components.strong,{children:`eCommerce`}),`) and `,_jsx(_components.strong,{children:`Plugins → Zapier`}),`.`]}),_jsxs(_components.p,{children:[`With `,_jsx(_components.strong,{children:`Blank Template`}),` selected, the dialog shows two groups:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Create from scratch`}),`: a general single-prompt template for the chosen channel, and `,_jsx(_components.strong,{children:`Multi Prompt`}),` (“Create assistant from scratch for complex workflows.”), which is not offered on the `,_jsx(_components.strong,{children:`WhatsApp`}),` tab.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Choose from templates`}),`: ready-made templates for the channel. Some have a `,_jsx(_components.strong,{children:`Play Demo`}),` button that plays a sample call.`]}),`\n`]}),_jsxs(_components.p,{children:[`Pick an industry to see only its templates, or `,_jsx(_components.strong,{children:`Zapier`}),` for the Zapier ones. Click a card to continue.`]}),_jsx(Frame,{caption:`The Create Assistant dialog on the Outbound tab`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/create-dialog.webp?fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=da3a9cac536e78ddd8d9902092027d35`,alt:`Create Assistant dialog on the Outbound tab with Blank Template selected: Outbound assistant and Multi Prompt under Create from scratch, and industry templates such as EMI payment reminder below`,\"data-og-width\":`2200`,width:`2200`,\"data-og-height\":`1620`,height:`1620`,\"data-path\":`media/agents-create/create-dialog.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/create-dialog.webp?w=280\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=adfe6641267e1bd9241901ae9bff1686 280w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/create-dialog.webp?w=560\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=aaade2bf74631854e3b062f4c6890607 560w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/create-dialog.webp?w=840\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=8bcf085b9bb40b1e2a24e55a7981ed1a 840w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/create-dialog.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=e7f27fced90d33bc94c588985a90a4ec 1100w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/create-dialog.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=4eea70d094ffeba8118cf7ae2b9892d4 1650w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/create-dialog.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=bfabb4b6dedc94b26ba48a12b3faaef5 2500w`})})]}),_jsxs(Step,{title:`Fill in Agent basics (single-prompt)`,children:[_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Agent basics`}),`: `,_jsx(_components.strong,{children:`Agent Name`}),` (required), `,_jsx(_components.strong,{children:`Primary Language`}),` (required; starts on the template’s language, or `,_jsx(_components.code,{children:`en-IN`}),`) and `,_jsx(_components.strong,{children:`Secondary Language`}),` (optional; only languages that pair with the primary are listed, after `,_jsx(_components.strong,{children:`None`}),`). A name like `,_jsx(_components.code,{children:`EMI reminder - Hindi`}),` tells your team the use case and language at a glance in the agent list and Logs.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Set up voice`}),`: pick a voice from the grid. Selecting a voice plays its preview. Filter by provider tab (`,_jsx(_components.strong,{children:`All`}),`, then each provider) or click `,_jsx(_components.strong,{children:`See more`}),` for the full list. The grid shows only voices for the selected languages; you can change languages and voice later (`,_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/voice-and-language`,children:`Voice and language`}),`).`]}),`\n`]}),_jsx(Frame,{caption:`Step 1: agent basics and voice`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/agent-basics.webp?fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=9903801f88fa5e61a32f34498561111f`,alt:`Agent basics with Agent Name EMI reminder, Primary Language English (India), Secondary Language Hindi, and the voice Ananya selected in the voice grid`,\"data-og-width\":`1532`,width:`1532`,\"data-og-height\":`1656`,height:`1656`,\"data-path\":`media/agents-create/agent-basics.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/agent-basics.webp?w=280\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=6e819ba9d2377c186f5c7aae96335d10 280w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/agent-basics.webp?w=560\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=182428c86d89efa11245e59c083a31db 560w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/agent-basics.webp?w=840\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=090daf5856f012ab05004db2a760bf5d 840w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/agent-basics.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=b65bf857d75f5c6647ad9cd0d8b73224 1100w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/agent-basics.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=8f302f217f2dce08ed5f50408429ca48 1650w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/agent-basics.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=7384aedfcd74b9d071f7cf01253343dd 2500w`})}),_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Next`}),`. It checks the fields in order and stops with “Agent name is required”, “Please select a language” or “Please select a voice”; a voice must be selected, not only previewed.`]})]}),_jsxs(Step,{title:`Fill in the call context`,children:[_jsx(_components.p,{children:`The second step holds what the template needs to write your prompt:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Call context`}),`: the template’s own fields, such as company details and the purpose of the call. Fields marked `,_jsx(_components.code,{children:`*`}),` are required. Type `,_jsx(_components.code,{children:`@`}),` in a field to insert a variable, or to create one (`,_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/agent-prompt`,children:`Write the prompt`}),`).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Custom variables`}),`: values that change per call (`,_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/custom-variables`,children:`Variables`}),`). Variables that come with the template cannot be removed. Names are lowercased and spaces become `,_jsx(_components.code,{children:`_`}),` as you type.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Knowledge Base`}),`: attach one or more knowledge bases. Don’t have one yet? `,_jsx(_components.a,{href:`/documentation/inventory/knowledge-base#create-a-knowledge-base`,children:`Create a knowledge base`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Inbound Calling`}),` (Outbound only): `,_jsx(_components.strong,{children:`Enabled`}),` lets this outbound agent also answer calls (an Outbound-Inbound agent). Default `,_jsx(_components.strong,{children:`Disabled`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Select Phone Number`}),` (Inbound only) or `,_jsx(_components.strong,{children:`Select WhatsApp Number`}),` (WhatsApp only): pick the `,_jsx(_components.strong,{children:`Telephony`}),` provider, then the `,_jsx(_components.strong,{children:`Number`}),` the agent answers on. Optional: you can `,_jsx(_components.a,{href:`/documentation/inventory/phone-numbers/inbound-agent-number`,children:`attach it later`}),`. Don’t have one yet? `,_jsx(_components.a,{href:`/documentation/inventory/phone-numbers/buy-or-import-a-number`,children:`Buy or import a number`}),`, or `,_jsx(_components.a,{href:`/documentation/inventory/tools-integrations/connect-whatsapp`,children:`connect WhatsApp`}),`.`]}),`\n`]}),_jsx(Frame,{caption:`Step 2: call context`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/call-context.webp?fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=778fe4938b59fec6e5c544472c9038d3`,alt:`Call context step with Company details and Purpose of the call filled in for Acme Lending, and an empty Additional instructions field`,\"data-og-width\":`1532`,width:`1532`,\"data-og-height\":`1656`,height:`1656`,\"data-path\":`media/agents-create/call-context.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/call-context.webp?w=280\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=efa75aa5e078a341287e9c538ff90d61 280w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/call-context.webp?w=560\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=241254e2bb98d9e2b0320de31396345e 560w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/call-context.webp?w=840\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=ec19f2635efc11968ecefb9640ed3dda 840w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/call-context.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=95fa9dfa70bc4621858aa941b66eb3ef 1100w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/call-context.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=a6f546a98243fa44614c65f714f9514f 1650w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-create/call-context.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=fc0aca8e848d1f1079aab5622db6aacb 2500w`})}),_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Create Assistant`}),`. `,_jsx(_components.strong,{children:`Back`}),` returns to the first step without losing your entries. “Please fill in all required fields” means a `,_jsx(_components.strong,{children:`Call context`}),` field is empty; the page scrolls to it and outlines it in red.`]})]}),_jsxs(Step,{title:`Land in the editor`,children:[_jsx(_components.p,{children:`A progress screen shows while Ringg writes the prompt (“This usually takes under a minute”).`}),_jsx(Check,{children:_jsxs(_components.p,{children:[`You see `,_jsx(_components.strong,{children:`Assistant created`}),` and the agent opens in the single-prompt editor at `,_jsx(_components.code,{children:`/assistants/\u003cagent_id>`}),`, with its name and `,_jsx(_components.strong,{children:`Test assistant`}),` in the top bar. On the `,_jsx(_components.strong,{children:`Agents`}),` page it is at the top of `,_jsx(_components.strong,{children:`Edited last week`}),`, labelled with its channel and direction, for example `,_jsx(_components.strong,{children:`Voice • Outbound`}),`.`]})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`multi-prompt-agents`,children:`Multi-prompt agents`}),`\n`,_jsxs(_components.p,{children:[`Clicking `,_jsx(_components.strong,{children:`Multi Prompt`}),` skips the form: Ringg creates an agent named `,_jsx(_components.strong,{children:`Untitled Workflow`}),` and opens the canvas. Rename the agent from its name in the top bar, then build the flow: `,_jsx(_components.a,{href:`/documentation/build-agents/agents/multi-prompt-agents/overview`,children:`Multi-prompt agents`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`with-the-api`,children:`With the API`}),`\n`,_jsxs(_components.p,{children:[`Send `,_jsx(_components.code,{children:`POST /public/agent`}),` with your `,_jsx(_components.a,{href:`/documentation/manage-account/api-key`,children:`API key`}),` in `,_jsx(_components.code,{children:`X-API-KEY`}),` (`,_jsx(_components.a,{href:`/api-reference/introduction/authentication`,children:`authentication`}),`). It creates a single-prompt agent and returns its ID. Get a `,_jsx(_components.code,{children:`voice_id`}),` from `,_jsx(_components.a,{href:`/api-reference/agents/get-assistant-voices`,children:`List Voices`}),` first. The API cannot create Webcall, WhatsApp or multi-prompt agents; use the dashboard for those.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`15`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://prod-api.ringg.ai/ca/api/v0/public/agent\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-KEY: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$RINGG_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_name\": \"Payment reminder\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_type\": \"outbound\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"primary_language\": \"en-IN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"secondary_language\": \"hi-IN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"voice_id\": \"857e1b18-0adb-4b3e-b150-ce7896a16bf1\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"intro_message\": \"Hello, this is Asha from Acme Finance. Is this a good time to talk?\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"introduction_and_objective\": \"You are Asha, a polite collections assistant for Acme Finance. Remind the customer of their upcoming EMI and confirm a payment date.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"task\": \"Confirm identity, state the EMI amount and due date, ask when they will pay, and note the date.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"response_guidelines\": \"Be brief and respectful. Never threaten. If the customer disputes the amount, offer a callback from the team.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"custom_variables\": [\"callee_name\", \"mobile_number\", \"emi_amount\", \"due_date\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`20`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://prod-api.ringg.ai/ca/api/v0/public/agent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`RINGG_API_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` agent_name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Payment reminder\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` agent_type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"outbound\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` primary_language:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"en-IN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` secondary_language:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"hi-IN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` voice_id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"857e1b18-0adb-4b3e-b150-ce7896a16bf1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` intro_message:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Hello, this is Asha from Acme Finance. Is this a good time to talk?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` introduction_and_objective:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"You are Asha, a polite collections assistant for Acme Finance. Remind the customer of their upcoming EMI and confirm a payment date.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` task:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Confirm identity, state the EMI amount and due date, ask when they will pay, and note the date.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response_guidelines:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Be brief and respectful. Never threaten. If the customer disputes the amount, offer a callback from the team.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` custom_variables:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"callee_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mobile_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"emi_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"due_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`());`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`20`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://prod-api.ringg.ai/ca/api/v0/public/agent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-API-KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"RINGG_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Payment reminder\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"outbound\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"primary_language\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"en-IN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"secondary_language\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hi-IN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"voice_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"857e1b18-0adb-4b3e-b150-ce7896a16bf1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"intro_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello, this is Asha from Acme Finance. Is this a good time to talk?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"introduction_and_objective\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"You are Asha, a polite collections assistant for Acme Finance. Remind the customer of their upcoming EMI and confirm a payment date.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"task\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Confirm identity, state the EMI amount and due date, ask when they will pay, and note the date.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"response_guidelines\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Be brief and respectful. Never threaten. If the customer disputes the amount, offer a callback from the team.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"custom_variables\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"callee_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mobile_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"emi_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"due_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.json())`})]}),`\n`]})})})]}),`\n`,_jsx(CodeBlock,{filename:`Response (200)`,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"00000000-0000-4000-8000-0000000000a1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"v1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"version_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3411d748-1dde-4701-88ad-8d1e8fd5cefe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-12-16T13:03:29.947147+00:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Agent created successfully\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Check,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`data.id`}),` is the `,_jsx(_components.code,{children:`agent_id`}),` you pass to `,_jsx(_components.a,{href:`/api-reference/calling/individual-calls/initiate-individual-call`,children:`calling`}),` and `,_jsx(_components.a,{href:`/api-reference/calling/campaigns/start-campaign`,children:`campaign`}),` endpoints. `,_jsx(_components.a,{href:`/api-reference/agents/get-assistant-by-id`,children:`Get Agent`}),` returns the new agent, and it is on the `,_jsx(_components.strong,{children:`Agents`}),` page in the dashboard.`]})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Likeliest error:`}),` `,_jsx(_components.code,{children:`400`}),` with code `,_jsx(_components.code,{children:`VOICE_LANGUAGE_MISMATCH`}),`: the voice does not support `,_jsx(_components.code,{children:`primary_language`}),`. Pick a voice from `,_jsx(_components.a,{href:`/api-reference/agents/get-assistant-voices`,children:`List Voices`}),` whose `,_jsx(_components.code,{children:`languages`}),` include it.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`intro_message`}),` becomes the agent’s `,_jsx(_components.strong,{children:`First message`}),`. The other text fields become four prompt sections, shown in the editor as `,_jsx(_components.strong,{children:`Objective`}),`, `,_jsx(_components.strong,{children:`Response Guidelines`}),`, `,_jsx(_components.strong,{children:`Conversation Script`}),` (`,_jsx(_components.code,{children:`task`}),`, with `,_jsx(_components.code,{children:`sample_conversations`}),` appended) and `,_jsx(_components.strong,{children:`FAQs`}),`; open the agent in the dashboard to review them (`,_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/agent-prompt`,children:`Write the prompt`}),`). An AI assistant can also create agents for you through the Ringg `,_jsx(_components.a,{href:`/resources/mcp-server/workspace-mcp-server/overview`,children:`MCP server`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`request-fields`,children:`Request fields`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`/api-reference/agents/create-agent`,children:`Create Agent`}),` reference lists every field. The essentials:`]}),`\n`,_jsx(ResponseField,{name:`agent_name`,type:`string`,required:true,id:`param-agent-name`,children:_jsx(_components.p,{children:`Up to 100 characters.`})}),`\n`,_jsx(ResponseField,{name:`intro_message`,type:`string`,required:true,id:`param-intro-message`,children:_jsx(_components.p,{children:`First thing the agent says; up to 500 characters.`})}),`\n`,_jsx(ResponseField,{name:`introduction_and_objective`,type:`string`,required:true,id:`param-introduction-and-objective`,children:_jsx(_components.p,{children:`Up to 2,000 characters.`})}),`\n`,_jsx(ResponseField,{name:`task`,type:`string`,required:true,id:`param-task`,children:_jsx(_components.p,{children:`Up to 1,500 characters.`})}),`\n`,_jsx(ResponseField,{name:`response_guidelines`,type:`string`,required:true,id:`param-response-guidelines`,children:_jsx(_components.p,{children:`Up to 3,000 characters.`})}),`\n`,_jsx(ResponseField,{name:`primary_language`,type:`string`,required:true,id:`param-primary-language`,children:_jsxs(_components.p,{children:[`A locale such as `,_jsx(_components.code,{children:`en-IN`}),` or `,_jsx(_components.code,{children:`hi-IN`}),`; see `,_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/voice-and-language#language-codes-the-api-accepts`,children:`language codes the API accepts`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`voice_id`,type:`string`,required:true,id:`param-voice-id`,children:_jsxs(_components.p,{children:[`From `,_jsx(_components.a,{href:`/api-reference/agents/get-assistant-voices`,children:`List Voices`}),`; must support the language.`]})}),`\n`,_jsx(ResponseField,{name:`agent_type`,type:`string`,id:`param-agent-type`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`outbound`}),` (default), `,_jsx(_components.code,{children:`inbound`}),` or `,_jsx(_components.code,{children:`outbound_inbound`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`custom_variables`,type:`string[]`,id:`param-custom-variables`,children:_jsxs(_components.p,{children:[`Per-call `,_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/custom-variables`,children:`variables`}),`. For outbound agents, `,_jsx(_components.code,{children:`callee_name`}),` and `,_jsx(_components.code,{children:`mobile_number`}),` are always added.`]})}),`\n`,_jsx(ResponseField,{name:`secondary_language`,type:`string`,id:`param-secondary-language`,children:_jsx(_components.p,{children:`A second locale the agent can switch to.`})}),`\n`,_jsx(ResponseField,{name:`faq`,type:`string`,id:`param-faq`,children:_jsx(_components.p,{children:`Questions and answers; up to 5,000 characters.`})}),`\n`,_jsx(ResponseField,{name:`sample_conversations`,type:`string`,id:`param-sample-conversations`,children:_jsxs(_components.p,{children:[`Example conversations; up to 5,000 characters. Use `,_jsx(_components.code,{children:`\\\\n`}),` between turns.`]})}),`\n`,_jsx(ResponseField,{name:`call_config`,type:`object`,id:`param-call-config`,children:_jsxs(_components.p,{children:[`Call behaviour; every key is optional. See `,_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/call-settings#do-this-with-the-api`,children:`Call settings`}),` for the keys.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`\"Template not available\"`,id:`template-not-available`,children:_jsx(_components.p,{children:`The general template for that channel could not be loaded. Close the dialog and try again, or start from an industry template.`})}),_jsx(Accordion,{title:`Do I need a number before I create the agent?`,id:`do-i-need-a-number-before-i-create-the-agent`,children:_jsxs(_components.p,{children:[`No. Outbound agents never store a number: you pick the caller ID per call or campaign. Inbound and WhatsApp agents can be created without one and have it `,_jsx(_components.a,{href:`/documentation/inventory/phone-numbers/inbound-agent-number`,children:`attached later`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(Columns,{cols:3,children:[_jsx(Card,{title:`Write the prompt`,icon:`book-open`,href:`/documentation/build-agents/customize-agent-behaviour/agent-prompt`,children:_jsx(_components.p,{children:`Edit the first message and the sections Ringg wrote.`})}),_jsx(Card,{title:`Test the agent`,icon:`play`,href:`/documentation/build-agents/test-and-improve/test-an-agent`,children:_jsx(_components.p,{children:`Call yourself, or talk to it in the browser, before going live.`})}),_jsx(Card,{title:`Buy or import a number`,icon:`hash`,href:`/documentation/inventory/phone-numbers/buy-or-import-a-number`,children:_jsx(_components.p,{children:`The caller ID for outbound calls, or the line an inbound agent answers.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create an agent","sidebarTitle":"Create an agent","description":"Create a Ringg AI agent from a blank or industry template in the Create Assistant dialog, or with POST /public/agent, then open it in the editor to test.","boost":8,"og:title":"Create a voice, web or WhatsApp agent in Ringg AI","href":"/documentation/build-agents/agents/create-an-agent"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you start","slug":"before-you-start","depth":2,"children":[]},{"title":"In the dashboard","slug":"in-the-dashboard","depth":2,"children":[{"title":"Multi-prompt agents","slug":"multi-prompt-agents","depth":3,"children":[]}]},{"title":"With the API","slug":"with-the-api","depth":2,"children":[{"title":"Request fields","slug":"request-fields","depth":3,"children":[]}]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/ringgai-0da73d20/45c33e65ef05fabf/hairline.js"],"dynamicCss":".mint-w-full {\n width: 100%\n}\n.mint-rounded-xl {\n border-radius: 0.75rem\n}","subdomain":"ringgai-0da73d20","siteName":"Ringg AI","title":"Create a voice, web or WhatsApp agent in Ringg AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-13T11:53:24.631Z","originalFileLocation":"documentation/build-agents/agents/create-an-agent.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a Ringg AI agent from a blank or industry template in the Create Assistant dialog, or with POST /public/agent, then open it in the editor to test.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ringg AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a voice, web or WhatsApp agent in Ringg AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a Ringg AI agent from a blank or industry template in the Create Assistant dialog, or with POST /public/agent, then open it in the editor to test.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ringg AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ringg.ai/documentation/build-agents/agents/create-an-agent\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ringgai-0da73d20.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Create+an+agent\u0026amp;description=Create+a+Ringg+AI+agent+from+a+blank+or+industry+template+in+the+Create+Assistant+dialog%2C+or+with+POST+%2Fpublic%2Fagent%2C+then+open+it+in+the+editor+to+test.\u0026amp;theme=737b8671029ef070100737b1\u0026amp;signature=a8211a2204c6f9e8851772cbba0759c9ebed6a10be575b1c5962098d2f4adb5b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a voice, web or WhatsApp agent in Ringg AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a Ringg AI agent from a blank or industry template in the Create Assistant dialog, or with POST /public/agent, then open it in the editor to test.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ringgai-0da73d20.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Create+an+agent\u0026amp;description=Create+a+Ringg+AI+agent+from+a+blank+or+industry+template+in+the+Create+Assistant+dialog%2C+or+with+POST+%2Fpublic%2Fagent%2C+then+open+it+in+the+editor+to+test.\u0026amp;theme=737b8671029ef070100737b1\u0026amp;signature=a8211a2204c6f9e8851772cbba0759c9ebed6a10be575b1c5962098d2f4adb5b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ringg AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0A0A0B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ringg.ai/documentation/build-agents/agents/create-an-agent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/documentation/build-agents/agents/create-an-agent.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.ringg.ai/#organization\",\"name\":\"Ringg AI\",\"legalName\":\"Stoic AI Private Limited\",\"url\":\"https://www.ringg.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://assets.ringg.ai/images/logo/logo.svg\"},\"sameAs\":[\"https://x.com/ringg_ai\",\"https://www.linkedin.com/company/ringg\",\"https://www.youtube.com/@RinggAI\",\"https://www.instagram.com/ringg_ai\",\"https://discord.gg/YuEnb8Vsca\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ringg.ai#website\",\"name\":\"Ringg AI\",\"url\":\"https://docs.ringg.ai\",\"publisher\":{\"@id\":\"https://www.ringg.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ringg.ai/documentation/build-agents/agents/create-an-agent#webpage\",\"url\":\"https://docs.ringg.ai/documentation/build-agents/agents/create-an-agent\",\"name\":\"Create an agent\",\"description\":\"Create a Ringg AI agent from a blank or industry template in the Create Assistant dialog, or with POST /public/agent, then open it in the editor to test.\",\"dateModified\":\"2026-10-13T11:53:24.631Z\",\"isPartOf\":{\"@id\":\"https://docs.ringg.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ringg.ai/documentation/build-agents/agents/create-an-agent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ringg.ai/documentation/build-agents/agents/create-an-agent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Build agents\",\"item\":\"https://docs.ringg.ai/documentation/build-agents/agents/agent-types\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agents\",\"item\":\"https://docs.ringg.ai/documentation/build-agents/agents/agent-types\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create an agent\",\"item\":\"https://docs.ringg.ai/documentation/build-agents/agents/create-an-agent\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.ringg.ai/documentation/build-agents/agents/create-an-agent#article\",\"headline\":\"Create an agent\",\"name\":\"Create an agent\",\"description\":\"Create a Ringg AI agent from a blank or industry template in the Create Assistant dialog, or with POST /public/agent, then open it in the editor to test.\",\"url\":\"https://docs.ringg.ai/documentation/build-agents/agents/create-an-agent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ringg.ai/documentation/build-agents/agents/create-an-agent#webpage\"},\"dateModified\":\"2026-10-13T11:53:24.631Z\",\"publisher\":{\"@id\":\"https://www.ringg.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ringg.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ringg AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Ringg AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/documentation/build-agents/agents/create-an-agent.md","siteName":"Ringg AI","nav":{"global":null,"tabs":[{"tab":"Get started","pages":[{"title":"Get started","href":"/get-started/introduction"}]},{"tab":"Documentation","pages":[{"title":"Ringg AI documentation","sidebarTitle":"Introduction","icon":"book-open","href":"/documentation/introduction"},{"group":"Build agents","icon":"bot","pages":[{"group":"Agents","pages":[{"title":"Agent types","sidebarTitle":"Agent types","description":"Pick a Ringg AI agent type: outbound, inbound, outbound-inbound, webcall or WhatsApp, built as a single-prompt or multi-prompt agent, and find the guide for each.","href":"/documentation/build-agents/agents/agent-types"},{"title":"Create an agent","sidebarTitle":"Create an agent","href":"/documentation/build-agents/agents/create-an-agent"},{"group":"Multi-prompt agents","pages":[{"title":"Multi-prompt agents","sidebarTitle":"Overview","description":"Build a Ringg AI multi-prompt agent: when to use one, create it, find your way around the canvas, and read an example flow from greeting to transfer.","href":"/documentation/build-agents/agents/multi-prompt-agents/overview"},{"title":"Node types and connections","sidebarTitle":"Node types and connections","href":"/documentation/build-agents/agents/multi-prompt-agents/node-types-and-connections"},{"title":"Multi-prompt global settings","sidebarTitle":"Global settings","href":"/documentation/build-agents/agents/multi-prompt-agents/global-settings"},{"title":"Test and convert multi-prompt agents","sidebarTitle":"Test and convert","href":"/documentation/build-agents/agents/multi-prompt-agents/test-and-convert"}]},{"group":"WhatsApp agents","tag":"NEW","pages":[{"title":"WhatsApp agents","sidebarTitle":"Overview","href":"/documentation/build-agents/agents/whatsapp-agents/overview"},{"title":"Create a WhatsApp agent","sidebarTitle":"Create an agent","href":"/documentation/build-agents/agents/whatsapp-agents/create-an-agent"},{"title":"WhatsApp Flows","sidebarTitle":"Flows","href":"/documentation/build-agents/agents/whatsapp-agents/flows"},{"title":"Build WhatsApp Flows in Ringg","sidebarTitle":"Flow builder","href":"/documentation/build-agents/agents/whatsapp-agents/flow-builder"},{"title":"WhatsApp Flows with live data","sidebarTitle":"Flows with live data","href":"/documentation/build-agents/agents/whatsapp-agents/flows-live-data"},{"title":"Live data from your server","sidebarTitle":"Live data from your server","href":"/documentation/build-agents/agents/whatsapp-agents/flows-your-server"}]}]},{"group":"Customize agent behaviour","pages":[{"title":"Agent prompt","sidebarTitle":"Agent prompt","href":"/documentation/build-agents/customize-agent-behaviour/agent-prompt"},{"title":"Voice and language","sidebarTitle":"Voice and language","href":"/documentation/build-agents/customize-agent-behaviour/voice-and-language"},{"title":"Custom variables","sidebarTitle":"Custom variables","href":"/documentation/build-agents/customize-agent-behaviour/custom-variables"},{"title":"Attach a knowledge base","sidebarTitle":"Attach a knowledge base","href":"/documentation/build-agents/customize-agent-behaviour/attach-a-knowledge-base"},{"group":"Tools","pages":[{"title":"Tools","sidebarTitle":"Overview","href":"/documentation/build-agents/customize-agent-behaviour/tools/overview"},{"title":"API tools","sidebarTitle":"API tools","href":"/documentation/build-agents/customize-agent-behaviour/tools/api-tools"},{"title":"Integration tools","sidebarTitle":"Integration tools","href":"/documentation/build-agents/customize-agent-behaviour/tools/integration-tools"},{"title":"System tools","sidebarTitle":"System tools","href":"/documentation/build-agents/customize-agent-behaviour/tools/system-tools"},{"title":"Function tools and conditions","sidebarTitle":"Function tools and conditions","href":"/documentation/build-agents/customize-agent-behaviour/tools/function-tools-and-conditions"},{"title":"Post-call tools","sidebarTitle":"Post-call tools","href":"/documentation/build-agents/customize-agent-behaviour/tools/post-call-tools"},{"title":"Workspace tools","sidebarTitle":"Workspace tools","href":"/documentation/build-agents/customize-agent-behaviour/tools/workspace-tools"},{"title":"WhatsApp tools","sidebarTitle":"WhatsApp tools","tag":"NEW","href":"/documentation/build-agents/customize-agent-behaviour/tools/whatsapp-tools"}]},{"title":"Call settings","sidebarTitle":"Call settings","href":"/documentation/build-agents/customize-agent-behaviour/call-settings"},{"title":"Advanced Analysis","sidebarTitle":"Advanced Analysis","href":"/documentation/build-agents/customize-agent-behaviour/advanced-analysis"},{"title":"Event Subscription","sidebarTitle":"Event Subscription","href":"/documentation/build-agents/customize-agent-behaviour/event-subscription"},{"group":"Webhooks","pages":[{"title":"Webhook setup and errors","sidebarTitle":"Setup and errors","href":"/documentation/build-agents/customize-agent-behaviour/webhooks/setup-and-errors"},{"title":"Call events","sidebarTitle":"Call events","href":"/documentation/build-agents/customize-agent-behaviour/webhooks/call-events"},{"title":"WhatsApp chat events","sidebarTitle":"WhatsApp chat events","tag":"NEW","href":"/documentation/build-agents/customize-agent-behaviour/webhooks/whatsapp-chat-events"},{"title":"Webhook field reference","sidebarTitle":"Field reference","href":"/documentation/build-agents/customize-agent-behaviour/webhooks/field-reference"}]}]},{"group":"Test and improve","pages":[{"title":"Test an agent","sidebarTitle":"Test an agent","href":"/documentation/build-agents/test-and-improve/test-an-agent"},{"title":"Drafts and versions","sidebarTitle":"Drafts and versions","href":"/documentation/build-agents/test-and-improve/drafts-and-versions"}]},{"group":"Workflows","pages":[{"title":"Workflows","sidebarTitle":"Overview","href":"/documentation/build-agents/workflows/overview"},{"title":"Build a workflow","sidebarTitle":"Build a workflow","href":"/documentation/build-agents/workflows/build-a-workflow"},{"title":"Test and publish a workflow","sidebarTitle":"Test and publish","href":"/documentation/build-agents/workflows/test-and-publish"},{"title":"Workflow block reference","sidebarTitle":"Block reference","href":"/documentation/build-agents/workflows/block-reference"}]}]},{"group":"Inventory","icon":"package","pages":[{"title":"Knowledge base","sidebarTitle":"Knowledge base","href":"/documentation/inventory/knowledge-base"},{"group":"Tools (integrations)","pages":[{"title":"Connect an app","sidebarTitle":"Connect an app","href":"/documentation/inventory/tools-integrations/connect-an-app"},{"title":"Connect WhatsApp","sidebarTitle":"Connect WhatsApp","tag":"NEW","href":"/documentation/inventory/tools-integrations/connect-whatsapp"}]},{"group":"Phone numbers","pages":[{"title":"Phone numbers","sidebarTitle":"Overview","href":"/documentation/inventory/phone-numbers/overview"},{"title":"Buy or import a number","sidebarTitle":"Buy or import a number","href":"/documentation/inventory/phone-numbers/buy-or-import-a-number"},{"group":"Your own telephony","pages":[{"title":"Bring your own telephony","sidebarTitle":"BYOT overview","href":"/documentation/inventory/phone-numbers/your-own-telephony/byot-overview"},{"title":"SIP trunking","sidebarTitle":"SIP trunking","href":"/documentation/inventory/phone-numbers/your-own-telephony/sip-trunking"},{"title":"Plivo","sidebarTitle":"Plivo","href":"/documentation/inventory/phone-numbers/your-own-telephony/plivo"},{"title":"Exotel","sidebarTitle":"Exotel","href":"/documentation/inventory/phone-numbers/your-own-telephony/exotel"},{"title":"Twilio","sidebarTitle":"Twilio","href":"/documentation/inventory/phone-numbers/your-own-telephony/twilio"},{"title":"Telnyx","sidebarTitle":"Telnyx","href":"/documentation/inventory/phone-numbers/your-own-telephony/telnyx"},{"title":"InTalk","sidebarTitle":"InTalk","href":"/documentation/inventory/phone-numbers/your-own-telephony/intalk"},{"title":"Ameyo","sidebarTitle":"Ameyo","href":"/documentation/inventory/phone-numbers/your-own-telephony/ameyo"},{"title":"Ozonetel","sidebarTitle":"Ozonetel","href":"/documentation/inventory/phone-numbers/your-own-telephony/ozonetel"},{"title":"New provider requirements","sidebarTitle":"New provider requirements","href":"/documentation/inventory/phone-numbers/your-own-telephony/new-provider-requirements"}]},{"title":"Number pools","sidebarTitle":"Number pools","href":"/documentation/inventory/phone-numbers/number-pools"},{"title":"Inbound agent number","sidebarTitle":"Inbound agent number","href":"/documentation/inventory/phone-numbers/inbound-agent-number"}]}]},{"group":"Deploy","icon":"rocket","pages":[{"group":"Campaigns","pages":[{"title":"Campaigns","sidebarTitle":"Overview","href":"/documentation/deploy/campaigns/overview"},{"title":"Create a campaign","sidebarTitle":"Create a campaign","href":"/documentation/deploy/campaigns/create-a-campaign"},{"title":"Workflow campaign","sidebarTitle":"Workflow campaign","href":"/documentation/deploy/campaigns/workflow-campaign"},{"title":"Campaigns by API","sidebarTitle":"Campaigns by API","href":"/documentation/deploy/campaigns/campaigns-by-api"},{"title":"Calling list","sidebarTitle":"Calling list","href":"/documentation/deploy/campaigns/calling-list"},{"title":"Manage a campaign","sidebarTitle":"Manage a campaign","href":"/documentation/deploy/campaigns/manage-a-campaign"}]},{"group":"Web and apps","pages":[{"group":"Web widget","pages":[{"title":"Web widget","sidebarTitle":"Overview","href":"/documentation/deploy/web-and-apps/web-widget/overview"},{"title":"Web widget configuration","sidebarTitle":"Configuration","href":"/documentation/deploy/web-and-apps/web-widget/configuration"},{"title":"Web widget events","sidebarTitle":"Events","href":"/documentation/deploy/web-and-apps/web-widget/events"},{"title":"Chat mode","sidebarTitle":"Chat mode","href":"/documentation/deploy/web-and-apps/web-widget/chat-mode"},{"title":"Chat components","sidebarTitle":"Components","href":"/documentation/deploy/web-and-apps/web-widget/components"},{"title":"Chat component data","sidebarTitle":"Data","href":"/documentation/deploy/web-and-apps/web-widget/data"},{"title":"Chat component recipes","sidebarTitle":"Recipes","href":"/documentation/deploy/web-and-apps/web-widget/recipes"},{"title":"Web widget styling","sidebarTitle":"Styling","href":"/documentation/deploy/web-and-apps/web-widget/styling"},{"title":"Web widget launch checklist","sidebarTitle":"Launch checklist","href":"/documentation/deploy/web-and-apps/web-widget/launch-checklist"}]},{"group":"Mobile apps","pages":[{"title":"Mobile app install","sidebarTitle":"Install","href":"/documentation/deploy/web-and-apps/mobile-apps/install"},{"title":"Mobile widget configuration","sidebarTitle":"Configuration","href":"/documentation/deploy/web-and-apps/mobile-apps/configuration"},{"title":"Mobile widget events","sidebarTitle":"Events","href":"/documentation/deploy/web-and-apps/mobile-apps/events"}]}]},{"group":"WhatsApp","tag":"NEW","pages":[{"title":"Start a conversation","sidebarTitle":"Start a conversation","href":"/documentation/deploy/whatsapp/start-a-conversation"},{"title":"WhatsApp Relay","sidebarTitle":"Relay overview","href":"/documentation/deploy/whatsapp/relay-overview"},{"title":"WhatsApp Relay integration guide","sidebarTitle":"Relay integration guide","href":"/documentation/deploy/whatsapp/relay-integration-guide"},{"title":"WhatsApp Relay troubleshooting","sidebarTitle":"Relay troubleshooting","href":"/documentation/deploy/whatsapp/relay-troubleshooting"}]}]},{"group":"Monitor","icon":"chart-line","pages":[{"title":"Logs","sidebarTitle":"Logs","href":"/documentation/monitor/logs"},{"title":"Analytics","sidebarTitle":"Analytics","href":"/documentation/monitor/analytics"},{"title":"Evals","sidebarTitle":"Evals","href":"/documentation/monitor/evals"},{"title":"Alerts","sidebarTitle":"Alerts","href":"/documentation/monitor/alerts"}]},{"group":"Manage account","icon":"settings","pages":[{"title":"Members","sidebarTitle":"Members","href":"/documentation/manage-account/members"},{"title":"API key","sidebarTitle":"API key","href":"/documentation/manage-account/api-key"},{"title":"Billing","sidebarTitle":"Billing","href":"/documentation/manage-account/billing"},{"title":"Call limits","sidebarTitle":"Call limits","href":"/documentation/manage-account/call-limits"},{"group":"Ringg Spaces","pages":[{"title":"Ringg Spaces","sidebarTitle":"Overview","href":"/documentation/manage-account/ringg-spaces/overview"},{"title":"Create and manage Ringg Spaces","sidebarTitle":"Create and manage","href":"/documentation/manage-account/ringg-spaces/create-and-manage"},{"title":"Ringg Spaces by API","sidebarTitle":"Ringg Spaces by API","href":"/documentation/manage-account/ringg-spaces/ringg-spaces-by-api"}]}]},{"group":"Ringg Labs","icon":"flask-conical","pages":[{"group":"Parrot STT","pages":[{"title":"Parrot STT Python SDK","sidebarTitle":"Python SDK","href":"/documentation/ringg-labs/parrot-stt/python-sdk"},{"title":"Parrot STT on TrueFoundry","sidebarTitle":"TrueFoundry","href":"/documentation/ringg-labs/parrot-stt/truefoundry"}]}]}]},{"tab":"Analytics platform","pages":[{"title":"Analytics platform","href":"/analytics-platform/introduction"}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction/quickstart"}]},{"tab":"Resources","menu":[{"item":"MCP server","description":"Let Claude, ChatGPT or Cursor work in your workspace, or search these docs","pages":[{"title":"MCP server","href":"/resources/mcp-server/docs-mcp-server/mcp-for-ai-assistants"}]},{"item":"Learn","description":"Lessons that build a payment-reminder system end to end","pages":[{"title":"Learn","href":"/resources/learn/all-lessons"}]},{"item":"Security","description":"How Ringg protects your data, and what to do on your side","pages":[{"title":"Security","href":"/resources/security/security"}]},{"item":"Changelog","description":"New features, API changes and new guides","pages":[{"title":"Changelog","href":"/resources/changelog/changelog"}]}],"pages":[{"title":"Resources","href":"/resources/mcp-server/docs-mcp-server/mcp-for-ai-assistants"}]}]},"basePath":"","title":"Create a voice, web or WhatsApp agent in Ringg AI","deploymentId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","buildId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-DevImLcx.js","DynamicMarkdown-BGHukeRM.js","zoom-image-lightbox-DQG3o8Eu.js","lightbox-handle-r17bVUz3.js"]}