curl https://api.voicy.co/v1/get-agent/550e8400-e29b-41d4-a716-446655440001 \ -H "Authorization: Bearer voicy_sk_live_xxx"
{ "agent_id": "550e8400-e29b-41d4-a716-446655440001", "agent_name": "Customer Support Agent", "voice_id": "pNInz6obpgDQGcFmaJgB", "language": "en", "begin_message": "Hello! How can I help you today?", "general_prompt": "You are a helpful customer support agent...", "begin_message_mode": "static", "response_delay_ms": 100, "prompt_text_direction": "ltr", "vars_provided": [ { "name": "customer_name", "type": "string", "default_value": null, "description": "Customer's full name" } ], "vars_extracted": [ { "name": "appointment_date", "type": "string", "description": "Preferred appointment date", "required": true } ] }
Retrieve details for a specific agent
he
en
static
dynamic
off
rtl
ltr
name
type
default_value
description
required