ConversAI DocsIntroductionOverview

DOCUMENTATION

Welcome to the ConversAI Labs documentation.

Introduction

Introduction to ConversAI Labs

ConversAI Labs is a comprehensive platform designed to build, test, deploy, and monitor human-like AI phone agents. Whether you're handling inbound customer service calls, automating outbound lead generation, or scheduling appointments, our platform provides the telephony, prompt engineering, custom tooling, and analytics you need out of the box.

ConversAI Labs Platform

Platform Capabilities

Ultra-Low Latency Conversational AI

Agents that respond in milliseconds, making interactions feel natural and indistinguishable from a human.

Complete Customization

Customize everything from the voice selection, system prompts, knowledge base documents, and dynamic webhook tools.

Built-in Analytics & History

Instantly monitor agent performance. Review full call transcripts, listen to audio recordings, and track costs dynamically.

Developer First API

Integrate ConversAI into your own software using our robust REST API to manage agents, leads, and initiate automated calls programmatically.

Next Steps

Ready to start building? We recommend exploring these sections first:

Build your first voice workflow

Start with an agent and a read-only API request, then connect call results to your workflow.

  1. Open the dashboard. New users can continue with Google and complete their profile; email/password login is for existing accounts.
  2. Create an agent and configure its instructions, voice and knowledge.
  3. Open Profile → API Keys to generate an API key. Keep it on your server, outside browser code and GitHub.
  4. List your agents with the request below and select your agent ID.
  5. Add a test lead using a number you control and have permission to call. Review the agent and your balance before explicitly starting a test call. Workflows are free for now; connected calls, including test calls, cost 4 credits per connected minute (₹4/minute); ₹1 = 1 credit.
  6. Inspect the result in Call History and configure call-result webhooks for your application. Handle duplicate deliveries before connecting production work.
Shell
# Set CONVERSAI_API_KEY in your server or local environment first.
curl --fail-with-body \
  "https://voice-ai-admin-api-762279639608.asia-south1.run.app/api/v1/agents/" \
  -H "X-API-Key: $CONVERSAI_API_KEY"

This request lists agents; it does not initiate a call. Review the API reference for request and response details.

Getting Started

Environment Setup

Quick Start

Set these environment variables before making API calls

Base URL

https://voice-ai-admin-api-762279639608.asia-south1.run.app/api/v1

API Key

your-api-key-here

Example .env

.env
Shell

CONVERSAI_API_KEY="your-api-key-here"

CONVERSAI_BASE_URL="https://voice-ai-admin-api-762279639608.asia-south1.run.app/api/v1"

Authentication

API Key Authentication

All API requests must be authenticated using an API key. The API key should be included in the request header.

X-API-Key: <your-api-key>

Getting Your API Key

You can generate and manage your API keys from your account settings.

View API Key Settings

Agent Creation

Creating a New Agent

Overview

Follow these step-by-step instructions to create and configure a new AI agent.

Step-by-Step Guide

Learn how to set up your AI agent from scratch.

1

Open Agent Creation Window

From the dashboard, click on the "Create Agent" button to open the creation window.

Dashboard create agent button
2

Agent Details (Section 1)

The first section contains details about the agent, company, and campaign you want to create.

Agent details form part 1Agent details form part 2

Here is how it looks after filling in the required information:

Filled agent details part 1Filled agent details part 2

Need more details?

Check out our detailed guide explaining every configuration field and dropdown.

View Detailed Guide
3

Generate Agent Prompt (Section 2)

After clicking "Next", you will proceed to the second section to generate the agent's prompt (YAML file). You can use our built-in assistant via the chat on the right side to help generate this.

Prompt generation initial state

Once you have generated the file and confirmed everything is correct, your screen will look like this:

Prompt generation filled state
4

Post Call Tasks & Webhooks (Section 3)

Click "Next" to enter the third section. Here, you can add post-call tasks in the first tab, and set up a webhook for your application in the second tab.

Post Call Tasks
Post call tasks configuration
Webhook Configuration
Webhook configuration
5

Complete Creation

Click on the "Complete" button. Your agent will be successfully created!

Agent successfully created

Detailed Configuration Guide

Deep Dive

This section provides an in-depth explanation of every field and configuration option available across the three sections of the agent creation process.

Section 1: Agent Details

This section collects the core identity and behavioral settings for your AI agent.

Agent Name

Purpose: The internal identifier for your agent.
What to add: A clear, recognizable name (e.g., "Support Bot V2").

Company Name

Purpose: The name of your organization. The agent uses this context during conversations to represent your brand.
What to add: Your official company name.

Campaign Name

Purpose: Groups the agent under a specific campaign for analytics and reporting.
What to add: A descriptive campaign title (e.g., "Summer Sales 2024").

Role

Purpose: Defines the primary function of the agent.
What to add: A job title-like description (e.g., "Customer Support Representative" or "Sales Development Rep").

Configuration Dropdowns

Images are provided below for these dropdowns to help you identify the visual options available.

Auto Schedule

Purpose: Determines if the agent should automatically schedule follow-ups or callbacks.
What to add: Toggle true/false based on whether you want the AI to handle calendar interactions seamlessly.

Auto schedule dropdown
Language

Purpose: Defines the language model used for speech recognition and voice synthesis.
What to add: Select the primary language and dialect (e.g., English US) that matches your target audience.

Language dropdown
Call Nature

Purpose: Optimizes the agent's behavior for specific types of interactions.
What to add: Select whether the primary purpose is inbound customer support, outbound sales, etc.

Call nature dropdown
Agent Voice

Purpose: Sets the vocal identity of your agent.
What to add: Choose the voice profile that best matches your brand identity from various options varying in tone and gender.

Agent voice dropdown
Industry

Purpose: Pre-loads industry-specific terminology and conversational practices.
What to add: Select your industry context (e.g., Healthcare, Real Estate, E-commerce).

Industry dropdown

Section 2: Prompt Generation

In this section, you define exactly how your agent will behave using a YAML configuration, assisted by our AI.

Built-in Assistant Chat (Right Panel)

Purpose: Helps you generate complex YAML configurations without writing code.
What to add: Describe your agent's persona, goals, and constraints in plain English. The assistant will translate this into valid YAML.

YAML Editor (Left Panel)

Purpose: Direct access to the underlying agent configuration for fine-tuning.
What to add: You can manually edit the generated prompt, adjust the initial greeting, define specific fallback behaviors, and set conversation boundaries.

Visual Reference (Optional)

An image is optionally provided here as the interface is quite intuitive, but here is a reference of the prompt generation workflow:

Prompt generation UI

Section 3: Actions & Webhooks

This final section connects your agent to the outside world, allowing it to sync data and trigger tasks.

Post Call Tasks
Task Name

Purpose: Identifies the automated task.
What to add: A clear name like "Send SMS Summary" or "Update CRM".

Execution URL & Method

Purpose: Directs where the post-call payload should be sent.
What to add: The API endpoint (URL) and HTTP method (POST, GET) that our system should call.

Headers

Purpose: Authenticates the request to your backend.
What to add: Any required API keys or Bearer tokens.

Payload

Purpose: The data sent to your system.
What to add: A JSON body. You can use variables to map the agent's extracted data into your system's required format.

Visual reference for Post Call Tasks configuration (Optional):

Post call tasks configuration
Webhook Configuration
Webhook URL

Purpose: Receives live events during the call.
What to add: The secure endpoint on your server.

Authentication

Purpose: Secures the webhook connection.
What to add: Necessary headers to ensure the webhook payloads are securely accepted by your server.

Events Payload

Purpose: Specifies what data is sent on events.
What to add: JSON configuration mapping events to specific payload structures.

Visual reference for Webhook configuration (Optional):

Webhook configuration

Knowledge Base

Managing the Knowledge Base

Overview

Learn how to add files to your Knowledge Base so your AI agents can access specific information and documents during conversations.

Step-by-Step Guide

Follow these steps to populate your Knowledge Base.

1

Open Knowledge Base

From the dashboard, navigate to the Knowledge Base section.

Navigate to Knowledge Base
2

Knowledge Base Dashboard

Here you can see all your existing files. Click on the button to add a new file.

Knowledge Base Main Page
3

Upload File

A window will appear where you can upload your document and give it a name.

Upload Window

Fill in the details as shown below:

Filled Upload Form
4

File Added Successfully & Organization

Once uploaded, the file will be processed and become available for your agents to use.

File Created Successfully
Organizing your Knowledge Base

As seen in the image above, you have powerful tools to keep your documents organized:

  • Create Folders: Use the New button to create folders. This allows you to group similar documents together (e.g., "HR Policies", "Product Manuals") so your Knowledge Base remains clean and easy to navigate.
  • Upload More Files: Use the Upload Document button to continue adding more files directly into your newly created folders or the main directory.

Why is this important?

Learn exactly how these files are used by the AI and why you need them.

View Detailed Explanation

Detailed Explanation

The Power of Context

Understand why the Knowledge Base is a critical component for creating intelligent, helpful agents.

Why Adding Files is Important

Grounding the AI

By default, AI models only know general information from their training. Uploading your company's documents, policies, or product catalogs grounds the agent in your specific business reality, preventing hallucinations and inaccurate answers.

Instant Updates

Instead of trying to fit all instructions into the agent's prompt (which has size limits), you can upload massive PDFs or text files. When your business information changes, you simply update the file in the Knowledge Base instead of rewriting prompts.

How Files are Used by the Agent

Semantic Search (RAG)

When a user asks a question during a call, the system instantly performs a semantic search across your uploaded files. It retrieves only the most relevant paragraphs and feeds them to the AI agent in real-time.

Contextual Answering

The agent reads the retrieved snippets and uses them to formulate a natural, accurate response on the fly. This ensures the agent sounds knowledgeable and stays on-brand while handling complex customer queries.

Leads Overview

Overview

The Leads dashboard is your central hub for managing all contacts that your AI agents will interact with.

Managing Your Leads

From the main page, you can view your existing leads, search for specific contacts, and initiate new lead creation using the two primary buttons at the top right.

Leads Main Page
Import CSV

Click this button to bulk upload hundreds or thousands of leads at once using a formatted spreadsheet.

Add Lead

Click this button to manually create a single lead by filling out a simple form.

Importing via CSV

Overview

Bulk upload your leads to quickly populate your campaigns.

CSV Format & Restrictions

When you click the Import CSV button, you'll be prompted to upload a file. To ensure a smooth upload process, your CSV file must adhere to specific formatting guidelines.

Import CSV Window

Important CSV Guidelines

Comma Usage
  • DO NOT use commas (,) in any field values.
  • Commas will split data into separate columns.
  • ? Wrong: "Home Number, Society Name"
  • ? Correct: "Home Number - Society Name" or "Home Number | Society Name"
schedule_at Format
  • Supported formats: DD-MM-YYYY HH:MM or DD/MM/YYYY HH:MM
  • Date separator: - or /
  • Time separator: :
  • Examples: 01-06-2025 10:00 ? or 01/06/2025 14:30 ?
  • Business hours: 9 AM to 7 PM IST only.
Phone Numbers
  • Without country code is Preferred.
  • You can choose the country code from the dropdown in the UI.
  • Example (without code): 9876543210 (uses the selected country code).

Adding Leads Manually

Overview

Manually add individual contacts to your workspace in seconds.

Step-by-Step Creation

1. Open the Form

Clicking Add Lead opens a blank form. This form collects the minimum required information to make a successful call.

Empty Add Lead Form
2. Fill Out Details

Complete the fields to define your lead. Below is an explanation of each field:

  • Agent: Select the specific AI agent from the dropdown that will handle this lead.
  • First Name / Last Name: The contact's name. This allows the AI to personalize the greeting.
  • Phone Number: The exact number the AI will call. Don't forget the country code!
  • Email / Company (Custom Fields): Extra context for the AI. If the AI needs to reference their company name during the pitch, it reads it from here.
Filled Add Lead Form
3. Submission & Confirmation

Upon clicking submit, you'll briefly see a loading or confirmation state while the lead is securely saved to your database.

Submission Confirmation
4. Final Look

Your new lead immediately appears in your Leads dashboard, ready to be engaged.

Final Look in Dashboard

Call History

Overview

Overview

Monitor, review, and analyze every interaction your AI agents have with your leads.

Fetching Call Data

The Call History dashboard acts as the central ledger for your AI phone calls. To begin, you must select the specific campaign you want to review.

1. The Main Page

When you first arrive at the Call History page, you will see a campaign dropdown menu. Select the campaign you want to review.

Call History Main Page
2. Selecting a Campaign

Clicking the dropdown will show all your active campaigns. Select one to proceed.

Selecting a Campaign
3. Viewing Fetched History

Once selected, the dashboard will fetch and display all calls associated with that campaign. You can see important initial data immediately on this screen.

Fetched Call History

Detailed Explanation

Deep Dive

Understand every data point, filter, and utility available in the Call History dashboard.

Table Data & Navigation

The history table provides a wealth of information about each call. Some columns are visible immediately, while others require horizontal scrolling.

Visible Metrics
  • Lead Name & Phone: The contact details of the person called.
  • Status: The final outcome of the call (e.g., Completed, Failed, Voicemail).
  • Duration: The total length of the call in seconds/minutes.
  • Cost: Credits consumed during the interaction.
Scrolling for More Options

The table contains more columns than can fit on a standard screen. Scroll to the right side of the list to reveal the "More Details" button for each specific call.

Scroll Right for More Details

Call Details Window

Clicking the "More Details" button opens a comprehensive window that provides deep insights into that specific interaction.

Call Details Window
Audio Recording

A built-in audio player allows you to listen to the exact conversation between your AI agent and the lead. This is crucial for quality assurance and training.

Full Transcript

A text transcript of the entire call is provided, clearly separating what the AI said versus what the user said, making it easy to scan through long conversations.

Call Summary

An AI-generated summary of the call's outcome, highlighting key takeaways without requiring you to read the full transcript.

Variables & Metadata

Any custom variables extracted during the call (like appointment times or answers to specific questions) are displayed here.

Profile Settings

Overview

Manage your personal details, company identity, and account credentials.

Personal & Company Details

Your profile page gives you a bird's-eye view of your account. You can view and update key information such as:

Company ID

Your unique organization identifier, required for some advanced integrations and support requests.

Personal Details

Your registered email address, name, and role within the company.

Profile Settings

How to Update Profile Information

1
Locate the Fields

On the Profile Settings page, locate the text fields for the information you want to change (e.g., Your Name, Company Name).

2
Enter New Details

Click inside the text field, clear the existing information, and type in your updated details.

3
Save Changes

Once you have finished editing, click the Save Changes button located at the bottom of the section to apply your updates.

Team Members

Overview

Invite colleagues to your workspace, manage their roles, and track their access.

Managing Your Team

The Team Members page lists everyone who has access to your company's ConversaiLabs workspace.

Team Members List

Adding a New Member

1. Open the Invite Form

Click the Add Member button to open the invitation form.

Empty Team Member Form
2. Fill in Details

Provide their Name, Email address, and assign them a Role (e.g., Admin, Editor, Viewer). Click Add Member.

Filled Team Member Form
3. Member Added

The new team member will instantly appear in your directory.

Team Member Created

Updating or Removing Team Members

1
Find the Member

Scroll through your team directory or use the search bar to locate the specific member you want to update.

2
Edit Role

Click on the role dropdown next to their name in the table to change their permissions instantly.

3
Remove Member

To revoke access entirely, click the Remove (or trash can) icon at the end of their row and confirm the action.

Support

Overview

Access resources, documentation, and reach out to our team for assistance.

Support Dashboard

The Support page is your central hub for resolving issues. You can view your active support tickets, search through our knowledge base, and contact our engineering team directly for technical assistance.

Support Page

How to Create and Track Support Tickets

1
Create a Ticket

Click the Create Ticket or Contact Support button on the dashboard. A form will appear for you to describe your issue.

2
Submit Details

Fill out the subject and provide a detailed description of the problem. Attach any relevant screenshots, then click Submit.

3
Track Progress

Your new ticket will appear in the table. You can click on the ticket row at any time to view updates, reply to support agents, or close the ticket if resolved.

Billing & Credits

Overview

Manage your balance, review credit usage reports, and export financial data.

Credit Management

Workflow creation, runs and tests are free for now. Only connected voice calls use credits. ConversAI Labs voice billing uses ₹1 = 1 credit. Voice calls use 4 credits per connected minute, equivalent to ₹4/minute. Review your balance and usage here, and see the pricing page for plan details.

Credit Top Up

Instantly purchase more credits to ensure your agents never experience downtime due to low balance.

Filters

Filter your usage history by specific date ranges, agents, or campaigns to see exactly where your credits are going.

Export Reports

Download detailed CSV/PDF reports of your usage for accounting and internal auditing purposes.

Credit Top Up Page

How to Add Credits and Manage Billing

1
Top Up Balance

Click the Top Up or Add Credits button. A payment window will appear.

2
Complete Purchase

Select the desired amount, verify your payment method details, and click Confirm Purchase to immediately add credits to your account.

3
Export Data

To download billing history, locate the Export button near your usage logs. Select your preferred format (CSV/PDF) and click download.

API Keys

Overview

Generate and manage the cryptographic keys required to authenticate with the ConversaiLabs API.

API Key Dashboard

View your active keys, their creation dates, and revoke any keys that are no longer needed.

API Key Dashboard

Generating a New Key

1
Click on Generate Key

Click on the generate key button in the top right to start creating a new API key.

Generate Key button
2
Enter API Key Name

Provide a recognizable name (e.g., "Production Backend") so you know what this key is used for later.

Enter API key name
3
Create Key

Click the create button to finalize.

Create Key button
4
Copy Your Key

Your final API key is generated. Copy it immediately and store it securely. You will not be able to see the full key again once you close this window.

Final API Key generated

How to Revoke an API Key

1
Locate the Key

Find the API key you wish to disable in the list of active keys.

2
Revoke Access

Click the Revoke or Delete icon on the right side of the key's row.

3
Confirm Action

A confirmation prompt will appear. Click Confirm to permanently disable the key. Note that any services using this key will immediately stop working.

Webhooks

Overview

Configure a company webhook as the fallback for call-result notifications.

Webhook Configuration

For call-result events, an agent webhook takes priority. The company webhook receives the event only when the agent has no webhook configured.

Adding/Updating Webhooks

Simply paste your secure endpoint URL into the text field and click Update Webhook. We will immediately begin dispatching POST requests to that URL.

Deleting Webhooks

To stop receiving events, simply clear the text field and update. Agent-specific webhooks remain active until removed separately.

Webhook Limits

Return a 2xx response promptly and process work asynchronously. Call-result delivery uses a 30-second HTTP client timeout and at most three attempts; retryable failures wait 1 second, then 5 seconds. An agent webhook takes priority over the company fallback.
Webhook Settings

How to Manage Webhooks

1
Add a New Webhook

Click the text input field, paste your endpoint URL (e.g., https://your-domain.com/webhook), and click the Update Webhook button.

2
Update an Existing Webhook

To change the URL, simply clear the existing text in the input field, enter the new URL, and click Update Webhook again to save the changes.

3
Remove a Webhook

If you wish to stop receiving webhook events, completely clear the text field so it is empty, then click Update Webhook.