afrah_85175
09/12/2025, 10:36 AMAI Evy
09/12/2025, 10:36 AMAI Evy
09/12/2025, 10:36 AMwebhook_url parameter when creating or updating an agent [(1) ]() [(2) ]() :
javascript
const agentResponse = await client.agent.create({
response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
voice_id: '11labs-Adrian',
webhook_url: "<https://webhook-url-here%22,>
webhook_timeout_ms: 10000
}) ;AI Evy
09/12/2025, 10:36 AMcall_started, call_ended, and call_analyzed [(3) ]() . These webhooks automatically push information when events occur, allowing you to instantly update systems or trigger automated workflows [(4) ]() .
However, there are some known compatibility issues between phone number level webhooks and agent level webhooks in Conversation Flow agents [(5) ]() . One user reported that if you add a webhook URL to the phone number, it may be lost when you save the conversation agent .
For voicemail handling, the sources show there's a voicemail_option configuration available [(1) ]() [(2) ]() , but the specific implementation details for recording and sending voicemail messages during transfer operations aren't detailed in the available documentation.
I don't have complete information about the specific workflow you're trying to implement for recording voicemail messages during transfer operations. Would you like me to provide a general answer based on my knowledge instead, or would you prefer to check these potentially useful sources:
- [Create Agent]()
- [Update Agent]()
- [Retell AI Webhooks | AI Voice Agents With Live Data | Retell AI]()AI Evy
09/12/2025, 10:36 AMAI Evy
09/12/2025, 10:36 AMafrah_85175
09/12/2025, 10:55 AMAI Evy
09/12/2025, 10:55 AMAI Evy
09/12/2025, 10:56 AMwebhook_url parameter :
javascript
"webhook_url": "<https://webhook-url-here%22>
The webhook timeout can be configured with webhook_timeout_ms, which defaults to 10000 milliseconds if not set .
However, the sources don't provide specific details about automatically recording and sending voicemail messages to an inbox when a user doesn't pick up the call. The voicemail detection feature appears to focus on detecting when voicemail is reached and then executing predefined actions like leaving a static message or hanging up.
I don't have complete information about the specific workflow for recording and automatically sending voicemail messages to an inbox. Would you like me to provide a general answer based on my knowledge instead?
Check out these potentially useful sources: [Get Agent]() , [Create Agent]() , [Update Agent]()AI Evy
09/12/2025, 10:56 AMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponse = await client.agent.update('16b980523634a6dc504898cda492e939', { agent_name: 'Jarvis' }) ;
console.log(agentResponse.agent_id) ;
[(2) ]()
Based on the available sources, you can configure voicemail detection and handling in Retell AI using the voicemail_option parameter when creating or updating an agent [(1) ]() [(2) ]() [(3) ]() [(4) ]() . The voicemail detection will try to detect voicemail in the first 3 minutes of the call [(1) ]() [(3) ]() [(4) ]() .
Here's how you can set up voicemail handling :
json
{
"action": {
"type": "static_text",
"text": "Please give us a callback tomorrow at 10am."
}
}AI Evy
09/12/2025, 10:56 AMAI Evy
09/12/2025, 10:56 AM