curl -X POST https://mtxbiyilvgwhbdptysex.supabase.co/functions/v1/get-agent \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{"agent_id": "550e8400-e29b-41d4-a716-446655440000"}'
{ "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Sarah - Receptionist", "greeting": "Hello, thank you for calling Acme Dental. This is Sarah, how can I help you today?", "system_prompt": "You are Sarah, a friendly receptionist for Acme Dental Clinic...", "voice_id": "21m00Tcm4TlvDq8ikWAM", "voice_provider": "elevenlabs", "voice_speed": 1.0, "language": "en-US", "agent_type": "both", "max_call_duration": 1800, "end_call_phrases": ["goodbye", "have a nice day"], "transfer_number": "+16045559999", "organization_name": "Acme Dental", "owner_name": "Dr. Smith", "agent_role": "Receptionist", "is_active": true, "is_default": true, "created_at": "2024-01-10T10:00:00Z", "updated_at": "2024-01-15T14:30:00Z" }
Retrieve details of a specific AI agent
openai
elevenlabs
en-US
inbound
outbound
both