https://retellai.com/?utm_source=discord&utm_medium=seo logo
how do I make an outbound call
# ❓・ai-evy-support
k
@AI Evy how do I make an outbound call?
a
Thanks for tagging me @krudy. I'll look through relevant sources and get back to you shortly.
### Answer To make an outbound call with Retell AI, you need to follow these steps: ## Prerequisites You must have a phone number, a configured agent, and your API key ready [(1) ]() . Before making calls, you need to bind agents to your phone numbers . ## Step 1: Bind Agent to Phone Number Configure your phone number with an outbound agent . You can set different agents for inbound vs outbound calls, or configure outbound-only numbers . ## Step 2: Make the Outbound Call Use the Create Phone Call API with these required parameters :
Copy code
javascript
const registerCallResponse = await retell.call.createPhoneCall({
 from_number: '+14157774444', // replace with the number you purchased
 to_number: '+12137774445', // replace with the number you want to call
 retell_llm_dynamic_variables: { // replace with the dynamic variables you want to send (optional)
 name: 'John Doe',
 blood_group: 'B+'
 }, 
 custom_sip_headers: { // replace with custom sip headers you want to send (optional)
 X-Custom-Header: 'Custom Value'
 }
}) ;
console.log(registerCallResponse) ;
## Required Parameters - `from_number`: Your Retell number in E.164 format (e.g.,
+14157774444
) - `to_number`: Destination number in E.164 format (e.g.,
+12137774445
) - `dynamic_variables`: Optional personalization data - `custom_sip_headers`: Optional SIP headers ## Important Notes - Retell-purchased numbers are currently limited to domestic calls only - International calling depends on your telephony provider's settings for imported numbers - After binding an inbound agent, your number is immediately ready to receive calls For complete API documentation, see the [Create Phone Call API Reference]() .
​ To learn more, see the sources I considered: [[1] Outbound Calls (Make Calls)](https://docs.retellai.com/deploy/outbound-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.