krudy
10/16/2025, 7:13 PMAI Evy
10/16/2025, 7:13 PMAI Evy
10/16/2025, 7:13 PMjavascript
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]() .AI Evy
10/16/2025, 7:13 PMAI Evy
10/16/2025, 7:13 PM