jred
08/31/2026, 8:10 PMAI Evy
08/31/2026, 8:10 PMAI Evy
08/31/2026, 8:11 PM{{customer_phone}}) [(1) ]() [(2) ]() .
This applies for both the Send SMS tool in single/multi-prompt agents [(1) ]() and the SMS Node in Conversation Flow agents [(2) ]() .
There's no SDK-level parameter documented for configuring the destination of this in-call SMS feature specifically — the destination configuration described in the sources is done through the tool/node setup in the app [(1) ]() [(2) ]() . Note this is distinct from the Create Outbound SMS API, which uses to_number and from_number fields to start a new SMS chat conversation rather than configure an in-call SMS destination [(3) ]() :
javascript
const chatResponse = await client.chat.createSMSChat({
from_number: '+12137771234',
to_number: '+14155551234',
}) ;
console.log(chatResponse.agent_id) ;AI Evy
08/31/2026, 8:11 PMAI Evy
08/31/2026, 8:11 PMjred
08/31/2026, 8:14 PMAI Evy
08/31/2026, 8:14 PMAI Evy
08/31/2026, 8:14 PM{{customer_phone}}) is configured through the tool/node setup in the app itself [(1) ]() [(2) ]() .
The `to_number`/`from_number` fields you see in the API are for a separate feature — the Create Outbound SMS endpoint, which starts a brand-new SMS chat conversation, not an in-call SMS sent mid-phone-call:
javascript
const chatResponse = await client.chat.createSMSChat({
from_number: '+12137771234',
to_number: '+14155551234',
}) ;
console.log(chatResponse.agent_id) ;
[(3) ]()AI Evy
08/31/2026, 8:14 PMAI Evy
08/31/2026, 8:14 PM