rykcon_24292
09/05/2025, 7:44 PMAI Evy
09/05/2025, 7:44 PMAI Evy
09/05/2025, 7:44 PM/create-chat endpoint [(1) ]() :
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const chatResponse = await client.chat.create({ agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD' }) ;
console.log(chatResponse.agent_id) ;
However, the documentation shows that Retell supports SMS integration through Twilio SMS integration, which allows you to deploy chat agents to receive and respond to text messages [(2) ]() . For SMS functionality, you need to enable SMS capabilities first, which requires going through a business profile approval process and is currently limited to US numbers only [(3) ]() .
For sending SMS during conversations, Retell provides an SMS Node in Conversation Flow that can send one-way SMS from the current agent number to the user's number, but this only works for phone calls and requires SMS-enabled phone numbers [(4) ]() .
The sources don't show a specific endpoint parameter for directly specifying a phone number when creating a chat session for SMS. You would need to set up SMS integration through the Twilio SMS setup process described in the Enable SMS guide [(3) ]() .AI Evy
09/05/2025, 7:44 PMAI Evy
09/05/2025, 7:44 PMrykcon_24292
09/05/2025, 7:46 PMAI Evy
09/05/2025, 7:46 PMAI Evy
09/05/2025, 7:47 PMcreate-chat API endpoint [(1) ]() . The API returns a chat_id that you need for subsequent requests . For generating responses from the chat agent, you use the create-chat-completion API endpoint .
Retell AI also supports Twilio SMS integration, allowing you to deploy chat agents to receive and respond to text messages . The platform provides both inbound SMS agent configuration and outbound SMS agent configuration . There's also a "Make an outbound SMS" button available to start new SMS sessions .
However, the specific API endpoints and parameters for programmatically initiating outbound SMS conversations aren't detailed in the available documentation sources. For comprehensive information about the outbound SMS API implementation, I'd recommend:
Visit [Contact Sales]() or [) for more detailed technical documentation.
Would you like a general answer based on my knowledge instead, or do you need me to help you find more specific documentation about the outbound SMS API?AI Evy
09/05/2025, 7:47 PMAI Evy
09/05/2025, 7:47 PM