curl -X POST https://api.ringyo.ai/v1/agents \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Sales Assistant", "system_prompt": "You are Sarah, a friendly sales assistant for Acme Corp. Your goal is to qualify leads and schedule demos. Be professional but warm. Ask about their current challenges and how Acme can help.", "voice_id": "sarah-professional", "first_message": "Hi! This is Sarah from Acme Corp. I'\''m reaching out to see if we can help with your business needs. Do you have a moment to chat?", "language": "en-US", "model": "gpt-4o" }'
{ "id": "agent_abc123", "name": "Sales Assistant", "system_prompt": "You are Sarah, a friendly sales assistant...", "voice_id": "sarah-professional", "first_message": "Hi! This is Sarah from Acme Corp...", "language": "en-US", "model": "gpt-4o", "temperature": 0.7, "max_tokens": 150, "interruption_threshold": 0.5, "end_call_phrases": [], "status": "active", "metadata": {}, "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-15T10:30:00Z"}
Agents
Create Agent
Create a new AI voice agent
POST
/
v1
/
agents
curl -X POST https://api.ringyo.ai/v1/agents \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Sales Assistant", "system_prompt": "You are Sarah, a friendly sales assistant for Acme Corp. Your goal is to qualify leads and schedule demos. Be professional but warm. Ask about their current challenges and how Acme can help.", "voice_id": "sarah-professional", "first_message": "Hi! This is Sarah from Acme Corp. I'\''m reaching out to see if we can help with your business needs. Do you have a moment to chat?", "language": "en-US", "model": "gpt-4o" }'
{ "id": "agent_abc123", "name": "Sales Assistant", "system_prompt": "You are Sarah, a friendly sales assistant...", "voice_id": "sarah-professional", "first_message": "Hi! This is Sarah from Acme Corp...", "language": "en-US", "model": "gpt-4o", "temperature": 0.7, "max_tokens": 150, "interruption_threshold": 0.5, "end_call_phrases": [], "status": "active", "metadata": {}, "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-15T10:30:00Z"}
curl -X POST https://api.ringyo.ai/v1/agents \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Sales Assistant", "system_prompt": "You are Sarah, a friendly sales assistant for Acme Corp. Your goal is to qualify leads and schedule demos. Be professional but warm. Ask about their current challenges and how Acme can help.", "voice_id": "sarah-professional", "first_message": "Hi! This is Sarah from Acme Corp. I'\''m reaching out to see if we can help with your business needs. Do you have a moment to chat?", "language": "en-US", "model": "gpt-4o" }'
{ "id": "agent_abc123", "name": "Sales Assistant", "system_prompt": "You are Sarah, a friendly sales assistant...", "voice_id": "sarah-professional", "first_message": "Hi! This is Sarah from Acme Corp...", "language": "en-US", "model": "gpt-4o", "temperature": 0.7, "max_tokens": 150, "interruption_threshold": 0.5, "end_call_phrases": [], "status": "active", "metadata": {}, "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-15T10:30:00Z"}