xgabrielx_1
10/29/2025, 11:15 AMAI Evy
10/29/2025, 11:15 AMAI Evy
10/29/2025, 11:15 AMAI Evy
10/29/2025, 11:15 AM"+14157774444")
- **to_number**: The destination number in E.164 format (e.g., "+12137774445")
- **override_agent_id**: The agent ID to handle the call (e.g., "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD")
Example API Request Structure:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneCallResponse = await client.call.createPhoneCall({
from_number: '+14157774444',
to_number: '+12137774445',
}) ;
console.log(phoneCallResponse.agent_id) ;AI Evy
10/29/2025, 11:15 AM{"customer_name": "John Doe"})
Integration Approach: [(2) ]()
For GHL workflows, you can use private integrations . Some users prefer private integrations over the app marketplace for more secure connections .
Important Setup Notes: [(3) ]()
- Your from_number must be a phone number you've purchased and configured through Retell AI
- The phone number should have an outbound_agent_id configured, or use the override_agent_id parameter
- Use override_agent_id instead of agent_id, and retell_llm_dynamic_variables instead of custom_data
Would you like more specific guidance on setting up the webhook or API call within your GHL workflow?
**AI Evy
10/29/2025, 11:15 AMxgabrielx_1
10/31/2025, 12:48 PMAI Evy
10/31/2025, 12:48 PMAI Evy
10/31/2025, 12:49 PMAI Evy
10/31/2025, 12:49 PMAI Evy
10/31/2025, 12:49 PM