v1
latestOpenAPI 3.0.02026-07-2633090.6 KBagent
Create Agent
Creates a new AI agent with the specified configuration. The agent will be created with a single prompt-based flow.
post/public/agent
Headers
X-API-KEYstring required
Example:7251cb4b-3373-43a4-844c-b27a1d45e0c9
(Required) Your Ringg AI API key.
Request body
Example request
{
"agent_name": "My Sales Agent",
"introduction_and_objective": "You are a customer support agent for Acme Corp.",
"response_guidelines": "Be polite, helpful, and concise. Always confirm understanding.",
"task": "Help customers with their orders and answer product questions.",
"faq": "Q: What are your hours? A: We are open 9am-6pm IST.",
"sample_conversations": "User: Hi\nAgent: Hello! How can I help you today?",
"primary_language": "en-IN",
"secondary_language": "hi-IN",
"voice_id": "02ad256b-092b-4048-bea0-5af46a452b98",
"intro_message": "Hello, this is Sarah from Acme Corp. How can I assist you today?",
"agent_type": "outbound",
"custom_variables": [
"callee_name",
"mobile_number",
"company",
"lead_source"
]
}Response
Agent created successfully.
Example response
{
"success": true,
"data": {
"id": "edd618d3-f473-4ac1-b5fa-f1a3981666ff",
"version": "v1",
"created_at": "2024-12-16T13:03:29.947147+00:00"
},
"message": "Agent created successfully"
}