camcam_16068
10/15/2025, 4:43 PMAI Evy
10/15/2025, 4:43 PMAI Evy
10/15/2025, 4:44 PMAI Evy
10/15/2025, 4:44 PMAI Evy
10/15/2025, 4:44 PMAI Evy
10/15/2025, 4:53 PMcamcam_16068
10/15/2025, 4:53 PMAI Evy
10/15/2025, 4:53 PMAI Evy
10/15/2025, 4:53 PMAI Evy
10/15/2025, 4:53 PMcamcam_16068
10/15/2025, 4:55 PMcamcam_16068
10/15/2025, 4:56 PMAI Evy
10/15/2025, 4:56 PMAI Evy
10/15/2025, 4:57 PMjavascript
import Retell from 'retell-sdk';
const retellClient = new Retell({
apiKey: "YOUR_API_KEY",
}) ;
javascript
try {
const response = await retellClient.call.createPhoneCall({
from_number: '+14157774444',
to_number: '+12137774445',
}) ;
console.log('Call initiated:', response) ;
} catch (error) {
console.error('Error making call:', error) ;
}
For SMS chatbots, you can initiate SMS conversations automatically from form submissions [(2) ]() . You need an SMS-enabled phone number (with the SMS advanced addon for $20/month) , and then you can trigger SMS to customers' phone numbers entered in forms and passed via API .
The API integration enables your voice agents to go beyond simple conversations and complete real business tasks like retrieving account information, booking appointments, or triggering follow-up workflows [(3) ]() . Your website can send requests to external systems via API, retrieve relevant information, or submit updates, allowing the agent to use real-time data to continue conversations naturally .AI Evy
10/15/2025, 4:57 PMAI Evy
10/15/2025, 4:57 PM