Facebook
LinkedIn
YouTube
Getting Started
Authentication
Authentication
  • V2 Authentication (Deprecated)
  • V3 Authentication
V2 API Documentation (Deprecated)V3 API Documentation
Getting Started
Authentication
Authentication
  • V2 Authentication (Deprecated)
  • V3 Authentication
V2 API Documentation (Deprecated)V3 API Documentation
  1. AI Voice Agents
  • Platform
    • Users
      • List Users
      • Get User Details
      • Update User
      • Partial Update User
      • Delete User
      • Create User
    • Groups
      • List Child Groups
      • Get Group Tree
      • Get Group Details
      • List Groups
      • Get Org Unit Hierarchy
      • Update Group
      • Partial Update Group
      • Delete Group
      • Create Group
    • Webhooks
      • List Webhooks
      • Get Webhook Details
      • Update Webhook
      • Partial Update Webhook
      • Delete Webhook
      • Create Webhook
    • Media Prompts
      • List Prompts
      • Upload Prompt
      • Delete Prompt
  • AI Voice Agents
    • List AI Voice Agents
      GET
    • Create Agent
      POST
    • Get Agent Details
      GET
    • Update Agent
      PUT
    • Partial Update Agent
      PATCH
    • Delete Agent
      DELETE
  • Phone Numbers
    • Assigned Numbers
      GET
    • Provisioned Numbers
      GET
    • Reserved Numbers
      DELETE
    • Phone Numbers
      POST
    • Available Numbers
      GET
  • Provisioned Routes
    • List Provisioned Routes
      GET
    • Create Provisioned Route
      POST
    • Get Provisioned Route Details
      GET
    • Delete Provisioned Route
      DELETE
    • Update Provisioned Route
      PUT
    • Partial Update Provisioned Route
      PATCH
  • SMS Broadcasts
    • List Broadcasts
      GET
    • Create Broadcast
      POST
    • Get Broadcast Details
      GET
    • Update Broadcast
      PUT
    • Partial Update Broadcast
      PATCH
    • Delete Broadcast
      DELETE
  • Conversation
    • Calls
      • Get Calls List
      • Get Call By ID
    • SMS
      • Get SMS Conversations
  • Miscellaneous
    • List Ad Sources
    • List Industries
    • List Tags
    • Create Tag
    • Update Tag
    • Delete Tag
  1. AI Voice Agents

Create Agent

POST
https://platform-api.convirza.com/v3/ai-voice-agents
AI Voice Agents
Last modified:2026-04-03 14:27:57
Creates a new AI voice agent with a complete conversation configuration and optional knowledge base files.
Required fields
name — display name for this agent.
voice — the AI voice model to use for speech synthesis.
direction — call direction: inbound (agent answers calls) or outbound (agent places calls).
org_unit_id — the organizational unit this agent belongs to.
Conversation configuration
greeting — the opening message spoken when a caller connects.
prompt — the main system prompt that defines the agent's persona, knowledge, and conversation goals.
Knowledge base files
Upload up to 10 files (PDF, DOCX, TXT) as part of the multipart form. These documents are embedded and used by the agent to answer caller questions. Maximum 10 MB per file.
Call handling
max_call_duration — maximum seconds the agent will stay on a call before ending (default: 300).
Response
Returns the full agent configuration including the assigned agent ID.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params multipart/form-dataRequired

Responses

🟢201
application/json
Agent created successfully
Body

🟠400
🟠401
🔴500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://platform-api.convirza.com/v3/ai-voice-agents' \
--header 'Authorization: Bearer <token>' \
--form 'voiceagent_name="Sales Assistant - Inbound Leads"' \
--form 'greetings="Hello, thanks for calling Convirza. How can I help you today?"' \
--form 'prompt="You are a helpful and professional sales assistant for Convirza. Your goal is to qualify leads, answer questions about our call tracking solutions, and schedule demos. Always be polite, concise, and focus on understanding the caller'\''s needs."' \
--form 'voice_id="3"' \
--form 'inherited_prompt_id="12"' \
--form 'direction="inbound"' \
--form 'urls="https://docs.example.com/sales-playbook"' \
--form 'urls="https://www.example.com/pricing"' \
--form 'integrations=""' \
--form 'integrations=""' \
--form 'integrations=""' \
--form 'more_information="Use concise and clear responses. If the caller asks about pricing, mention our flexible plans starting at $99/month. Always attempt to schedule a demo for qualified leads."' \
--form 'config="{
    \"background_noise\": false,
    \"volume\": 0.8,
    \"block_non_intelliquent_number\": true
}"' \
--form 'max_call_duration="300"' \
--form 'notification_time="30"' \
--form 'notification_message="Agent has been on the call for 30 seconds."' \
--form 'created_by="2001"' \
--form 'ext_org_unit_id="1001"' \
--form 'knowledge_base=""' \
--form 'knowledge_base=""' \
--form 'org_unit_id="1001"' \
--form 'industry_id="7"' \
--form 'files=""'
Response Response Example
201 - Example 1
{
    "code": 200,
    "message": "Success",
    "data": {
        "id": 101,
        "primary_phone_number": "+14255551234",
        "prompt": "You are a professional sales assistant for Convirza. Your goal is to qualify inbound leads, answer product questions, and schedule demos. Always be concise, friendly, and focused on the caller's needs.",
        "greetings": "Thank you for calling Convirza! How can I assist you today?",
        "voiceagent_type_id": 1,
        "voice_id": 3,
        "voiceagent_name": "Sales Assistant — Inbound Leads",
        "type": "conversational",
        "voice": "alloy",
        "created_on": "2026-01-15T10:30:00.000Z",
        "updated_on": "2026-03-20T14:20:00.000Z",
        "status": "active",
        "direction": "inbound",
        "more_information": "Prioritize callers who mention pricing or demo requests. Escalate to a human if the caller expresses frustration.",
        "urls": [
            "https://docs.example.com/faq",
            "https://www.example.com/pricing"
        ],
        "inherited_prompt_id": 12,
        "config": {
            "background_noise": false,
            "volume": 0.8,
            "block_non_intelliquent_number": true
        },
        "max_call_duration": 300,
        "notification_time": 60,
        "notification_message": "This call will end in 1 minute.",
        "org_unit_id": 1001,
        "knowledgebase_files": [
            "product-catalog.pdf",
            "sales-playbook.docx"
        ],
        "knowledgebase_urls": [
            "https://docs.example.com/guide",
            "https://www.example.com/faq"
        ]
    },
    "request_id": "550e8400-e29b-41d4-a716-446655440000",
    "timestamp": "2026-01-20T12:34:56.789Z"
}
Modified at 2026-04-03 14:27:57
Previous
List AI Voice Agents
Next
Get Agent Details
Built with