Send SMS Text Messages

Send an SMS text message to any valid mobile phone number.

SMS Pricing is here: SMS Pricing
Send a text message to the cellular number provided.
Mandatory Parameters:
  • api_key = your API key found on the Account Screen
  • to = the number you want to message. Can be any valid mobile number in E.164 format. To provide the country code you need to provide "+" before the number.  If your URL is not encoded then you need to replace the "+" with "%2B" instead.
  • body = the message you want to send, in any language. The maximum body length is 160 characters. If the message body is greater than 160 characters it is split into multiple messages and you are charged per message for the number of messages required to send your length.

 

Example
https://api.elasticemail.com/sms/send?api_key=your_api_key&to=+19999999999&body=this%20is%20a%20test%20sms%20message

License

All code samples are licensed under MIT license.