curl --request POST \ --url https://api.truedy.ai/api/public/v1/agents/{agent_id}/test-call \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data @- <<EOF{ "name": "Customer Support Agent", "description": "AI-powered customer support agent for handling inquiries", "voice_id": "voice_c7d82fec-c", "model": "gpt-4", "instructions": "You are a helpful customer support agent. Be friendly and professional.", "greeting": "Hello! How can I help you today?", "inactivity_message": "I'm still here if you need anything."}EOF
Copy
Ask AI
{ "data": { "id": "agt_f9447372-5", "name": "Customer Support Agent", "description": "AI-powered customer support agent", "status": "active", "voice_id": "voice_c7d82fec-c", "model": "gpt-4", "instructions": "You are a helpful customer support agent.", "created_at": "2026-03-03T20:30:21.310278Z", "updated_at": "2026-03-03T20:30:21.310278Z" }, "meta": { "request_id": "req_32e7531c-8", "timestamp": "2026-03-03T20:30:21.310278Z" }}
Agents
Create Test Call
Create WebRTC test call for agent.
POST
/
agents
/
{agent_id}
/
test-call
Create Test Call
Copy
Ask AI
curl --request POST \ --url https://api.truedy.ai/api/public/v1/agents/{agent_id}/test-call \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data @- <<EOF{ "name": "Customer Support Agent", "description": "AI-powered customer support agent for handling inquiries", "voice_id": "voice_c7d82fec-c", "model": "gpt-4", "instructions": "You are a helpful customer support agent. Be friendly and professional.", "greeting": "Hello! How can I help you today?", "inactivity_message": "I'm still here if you need anything."}EOF
Copy
Ask AI
{ "data": { "id": "agt_f9447372-5", "name": "Customer Support Agent", "description": "AI-powered customer support agent", "status": "active", "voice_id": "voice_c7d82fec-c", "model": "gpt-4", "instructions": "You are a helpful customer support agent.", "created_at": "2026-03-03T20:30:21.310278Z", "updated_at": "2026-03-03T20:30:21.310278Z" }, "meta": { "request_id": "req_32e7531c-8", "timestamp": "2026-03-03T20:30:21.310278Z" }}