clientnexus_71205
11/20/2025, 10:34 PMAI Evy
11/20/2025, 10:34 PMAI Evy
11/20/2025, 10:34 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) ;
The agent must be configured for chat mode, and the initial SMS message will be automatically generated based on the agent's configuration .
You can also send SMS during a phone call using the SMS function feature [(3) ]() .
**Note**: MMS (multimedia messaging) is not explicitly mentioned in the documentation, only SMS text messaging capabilities.AI Evy
11/20/2025, 10:34 PMAI Evy
11/20/2025, 10:34 PM