Simple example for sending SMS messages

To send a message, your application needs to make an HTTP POST request to Twilio with the body of the message, the phone number you want to send the message to, and the Twilio number from which you’re attempting to send the message. See the example code here. You should also check out our API Explorer – it will send an SMS with no programming needed while generating the necessary code to execute this request yourself.

If you’re not a developer and you’re looking for an easy interface to send SMS, we encourage you to check out some of our partners who have prebuilt solutions with Twilio’s API.

Have more questions? Submit a request
Powered by Zendesk