SMS Caller ID
# support
j
How do I make it so the caller does not have to say their phone number to receive an SMS message How do I get the data from VAPI to recognize the caller's phone number automatically for sending SMS
v
To automatically send an SMS to the caller without asking for their number, use the dynamic variable
{{customer.number}}
in your SMS tool configuration. For example:
Copy code
json
{
  "type": "sms",
  "to": "{{customer.number}}",
  "message": "Thank you for calling!"
}
This ensures the SMS is sent to the caller's phone number automatically, with no need for user input. Reference: [Vapi Dynamic Variables Documentation](https://docs.vapi.ai/assistants/dynamic-variables) Sources: - [Vapi Dynamic Variables Documentation](https://docs.vapi.ai/assistants/dynamic-variables) - [Vapi Default Tools: Send Text](https://docs.vapi.ai/tools/default-tools#send-text)
v
Message marked as helpful by @Aibaze Foundations! 🎉
v
Hey Jason, checking if this is resolved/solved for you?
j
Yes I am all set thanks
v
Glad the issue was resolved. Please reach out to us if you have any other questions regarding this issue