Add SMS To Existing Vapi Number?
# support
j
I've set up a new assistant got a VAPI phone number but how do I set up sms? The twilio interface looks different from the one on the docs. Is there a way to do this?
v
Hi there! 👋 I notice you're having trouble setting up SMS for your VAPI phone number. While I can't address the specific differences you're seeing in the Twilio interface compared to the documentation, I can definitely help with the SMS setup process! Here's how to set up SMS for your VAPI phone number: ## Twilio Side Setup 1. First, ensure your Twilio number is configured to send SMS messages. Log into your Twilio account and navigate to the "Phone Numbers" section. 2. Select your phone number and find the "Messaging" settings. 3. Make sure SMS is enabled for your number. 4. Set up any necessary webhooks to interact with your application. ## VAPI Side Setup 1. You'll need to configure VAPI with your Twilio credentials, including: -
twilioAccountSid
-
twilioAuthToken
-
credentialId
for the phone number you're using According to the [information I found](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333245023319494707), once these credentials are set up, you can use the
sendSms
function with the customer's phone number to send SMS messages. ## Troubleshooting Tips - Ensure your Twilio setting is set to "Webhook" and not "SIP" as this is a common issue - Verify you have the correct number configured in VAPI - Check that your Twilio account has the necessary permissions and that your phone number is verified and active If you're still experiencing issues with the interface discrepancy, you might want to test sending an SMS to ensure the integration is working despite the interface differences. Is there anything specific about the SMS setup process you'd like me to clarify further? Sources: - [Discord Thread about SMS Setup](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333245023319494707) - [Discord Thread about Troubleshooting](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343208312249913397)
s
To send SMS using VAPI Assistant, you need to use custom tools and a server URL if so. Your server URL will be used for your custom tool for sending SMS. VAPI will send a request to your custom tool server URL, and there you will have the code to send the SMS. From VAPI's side, it is all custom tools only. Regarding the API, I can suggest looking out for Sendgrid or Twilio for sending the SMS.