emmanueloquendo.
08/28/2025, 9:11 AMAI Evy
08/28/2025, 9:11 AMAI Evy
08/28/2025, 9:11 AMheaders, query_params, and response variables should be objects {} rather than empty arrays [] .
For the agent structure reference, you can use the Create Agent API format [(3) ]() :
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponse = await client.agent.create({
response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
voice_id: '11labs-Adrian',
}) ;
console.log(agentResponse.agent_id) ;
The dashboard agent import dialog mentions "Only Retell Agent format files are supported", but this format isn't documented [(1) ]() . One suggestion from the community is to export an existing agent to see the JSON format .
Since I don't have the exact import schema in the available sources, I'd recommend:
1. Visit [Contact Sales]()
2. Visit [)
Would you like a general answer based on my knowledge instead?AI Evy
08/28/2025, 9:11 AMAI Evy
08/28/2025, 9:11 AMemmanueloquendo.
08/28/2025, 10:17 AMemmanueloquendo.
08/28/2025, 10:18 AMAI Evy
08/28/2025, 10:18 AMAI Evy
08/28/2025, 10:18 AMjson
"general_tools": [
{
"name": "transfer_call_2",
"description": "When user is angry or requests a human agent, transfer the call to a human.",
"number": "+14154154155",
"type": "transfer_call"
}
]
For state-specific tools with more advanced configuration, the structure includes transfer destination and options [(2) ]() :
json
"tools": [
{
"type": "transfer_call",
"name": "transfer_to_support",
"description": "Transfer to the support team.",
"transfer_destination": {
"type": "predefined",
"number": "16175551212"
},
"transfer_option": {
"type": "cold_transfer",
"show_transferee_as_caller": false
}
}
]
The transfer tool supports both cold and warm transfer types [(1) ]() . For cold transfers, you can configure whether the transfer destination sees the Retell agent's number or the transferee's number . For warm transfers, additional settings like on-hold music, human detection, and whisper messages are available .
Note that call transfer only works during phone calls, not web calls .AI Evy
08/28/2025, 10:18 AMAI Evy
08/28/2025, 10:18 AMemmanueloquendo.
08/28/2025, 10:19 AMAI Evy
08/28/2025, 10:19 AMAI Evy
08/28/2025, 10:20 AMAI Evy
08/28/2025, 10:20 AMAI Evy
08/28/2025, 10:20 AMemmanueloquendo.
08/28/2025, 10:20 AMAI Evy
08/28/2025, 10:20 AMAI Evy
08/28/2025, 10:20 AMsip:username@domain
2. Choose Warm transfer as the transfer type
3. Configure the warm transfer settings like whisper message and three-way message
Without seeing your specific JSON structure, I can't pinpoint the exact issue. Please share your JSON configuration and I'll be able to help identify what might be causing the import problem.AI Evy
08/28/2025, 10:20 AMAI Evy
08/28/2025, 10:20 AMemmanueloquendo.
08/28/2025, 10:21 AMAI Evy
08/28/2025, 10:21 AMAI Evy
08/28/2025, 10:21 AMjson
"general_tools": [
{
"name": "transfer_call_2",
"description": "When user is angry or requests a human agent, transfer the call to a human.",
"number": "+14154154155",
"type": "transfer_call"
}
]
For more advanced warm transfer configuration with state-specific tools, you can use this structure [(2) ]() :
json
"tools": [
{
"type": "transfer_call",
"name": "transfer_to_support",
"description": "Transfer to the support team.",
"transfer_destination": {
"type": "predefined",
"number": "16175551212"
},
"transfer_option": {
"type": "warm_transfer"
}
}
]
For warm transfers, you can configure additional settings like on-hold music, human detection, auto-greet, agent detection timeout, whisper message, and three-way message [(3) ]() [(2) ]() .
Without seeing your specific JSON, common issues include incorrect number formatting (should be in e.164 format) or missing required fields. Please share your JSON configuration so I can help identify the specific issue.AI Evy
08/28/2025, 10:21 AMAI Evy
08/28/2025, 10:22 AM