Ejaz
04/01/2026, 4:06 PMAI Evy
04/01/2026, 4:06 PMAI Evy
04/01/2026, 4:07 PMinbound_sms_agents and outbound_sms_agents fields when creating or updating a phone number. [(2) ]() [(3) ]()
For example, when importing a phone number:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponse = await client.phoneNumber.import({
phone_number: '+14157774444',
termination_uri: 'someuri.pstn.twilio.com',
}) ;
[(2) ]()
The response will include inbound_sms_agents and outbound_sms_agents arrays where you can configure agents with weights for SMS handling. [(2) ]() [(4) ]() [(3) ]()
Note: SMS capabilities are currently limited to US numbers only. [(1) ]()AI Evy
04/01/2026, 4:07 PMAI Evy
04/01/2026, 4:07 PMone
04/01/2026, 11:40 PM