simonyost
11/14/2025, 4:04 PMAI Evy
11/14/2025, 4:04 PMAI Evy
11/14/2025, 4:04 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const chatResponse = await client.chat.createSMSChat({
from_number: '+12137771234',
to_number: '+14155551234',
}) ;
console.log(chatResponse.agent_id) ;
For bulk SMS sending, you would need to implement your own loop or batch process to call this API multiple times with different to_number values . The sources don't mention a native bulk SMS feature similar to the Batch Calling feature that exists for voice calls [(2) ]() .
Important requirements:
- Your phone number must have an outbound_agent_id configured [(3) ]() [(4) ]()
- The agent must be configured for chat mode [(1) ]()
- You need to verify your business profile to send SMS messages [(2) ]()
If you need help setting up bulk SMS functionality beyond individual API calls, I'd recommend reaching out to Retell support for guidance on best practices.
**AI Evy
11/14/2025, 4:04 PMAI Evy
11/14/2025, 4:04 PMAI Evy
11/14/2025, 8:48 PM