How can I receive SMS messages without responding?

When an SMS message is received by one of your Twilio numbers, Twilio makes an HTTP request to the SMS Request URL configured for that number, and will be looking for directions in TwiML describing how to handle that incoming message. You must return a valid TwiML document in order to receive the SMS.

If you just want to store the inbound SMS message in your Twilio account logs, but don’t want to process the message or send a reply, you’ll just need to send back an empty <Response>.

Configuring Your Twilio Number for SMS

Log into your Twilio account and navigate to the Phone Numbers page. Select the phone number where you want to receive SMS. Paste this URL into the “SMS Request URL” field:

http://twimlets.com/echo?Twiml=%3CResponse%3E%3C%2FResponse%3E

That’s it! Try sending an SMS to your Twilio number. You won’t get a response, but if you check your SMS logs, you will see the SMS.