Make the most of mobile with our specialized SMS Marketing service. Reach your audience instantly and drive engagement with personalized marketing campaigns. Programmable: Our SMS API can be programmed in your language of choice, making it easy to tailor your marketing campaigns to your unique requirements. Instant Reach: Send marketing notifications quickly and directly to your audience, fostering higher engagement and customer response rates. Scalable: No matter the size of your audience, our SMS Marketing service can handle it. Send messages to a small group or broadcast to millions - we've got you covered. Get started quickly: It's easy to start with SMS.to. Sign up for a free account, get your API key, and you'll be set to start your SMS Marketing journey in less than 5 minutes.
Implement SMS notifications, OTP, reminders etc. into your workflow and build apps that send SMS with our redundant SSL SMS API. *
curl --location 'https://api.sms.to/sms/send' \ --header 'Authorization: Bearer <api_key>' \ --header 'Content-Type: application/json' \ --data '{ "message": "This is test and \n this is a new line", "to": "+35799999999999", "bypass_optout": true, "sender_id": "SMSto", "callback_url": "https://example.com/callback/handler" }'
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://api.sms.to/sms/send', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS =>'{ "message": "This is test and \\n this is a new line", "to": "+35799999999999", "bypass_optout": true, "sender_id": "SMSto", "callback_url": "https://example.com/callback/handler" }', CURLOPT_HTTPHEADER => array( 'Authorization: Bearer <api_key>', 'Content-Type: application/json' ), )); $response = curl_exec($curl); curl_close($curl); echo $response;
var https = require('follow-redirects').https; var fs = require('fs'); var options = { 'method': 'POST', 'hostname': 'api.sms.to', 'path': '/sms/send', 'headers': { 'Authorization': 'Bearer <api_key>', 'Content-Type': 'application/json' }, 'maxRedirects': 20 }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); var postData = JSON.stringify({ "message": "This is test and \n this is a new line", "to": "+35799999999999", "bypass_optout": true, "sender_id": "SMSto", "callback_url": "https://example.com/callback/handler" }); req.write(postData); req.end();
require "uri" require "json" require "net/http" url = URI("https://api.sms.to/sms/send") https = Net::HTTP.new(url.host, url.port) https.use_ssl = true request = Net::HTTP::Post.new(url) request["Authorization"] = "Bearer <api_key>" request["Content-Type"] = "application/json" request.body = JSON.dump({ "message": "This is test and \n this is a new line", "to": "+35799999999999", "bypass_optout": true, "sender_id": "SMSto", "callback_url": "https://example.com/callback/handler" }) response = https.request(request) puts response.read_body
import http.client import json conn = http.client.HTTPSConnection("api.sms.to") payload = json.dumps({ "message": "This is test and \n this is a new line", "to": "+35799999999999", "bypass_optout": True, "sender_id": "SMSto", "callback_url": "https://example.com/callback/handler" }) headers = { 'Authorization': 'Bearer <api_key>', 'Content-Type': 'application/json' } conn.request("POST", "/sms/send", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient().newBuilder() .build(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\r\n \"message\": \"This is test and \\n this is a new line\",\r\n \"to\": \"+35799999999999\",\r\n \"bypass_optout\": true,\r\n \"sender_id\": \"SMSto\",\r\n \"callback_url\": \"https://example.com/callback/handler\"\r\n}"); Request request = new Request.Builder() .url("https://api.sms.to/sms/send") .method("POST", body) .addHeader("Authorization", "Bearer <api_key>") .addHeader("Content-Type", "application/json") .build(); Response response = client.newCall(request).execute();
package main import ( "fmt" "strings" "net/http" "io/ioutil" ) func main() { url := "https://api.sms.to/sms/send" method := "POST" payload := strings.NewReader(`{`+" "+` "message": "This is test and \n this is a new line",`+" "+` "to": "+35799999999999",`+" "+` "bypass_optout": true,`+" "+` "sender_id": "SMSto",`+" "+` "callback_url": "https://example.com/callback/handler"`+" "+` }`) client := &http.Client { } req, err := http.NewRequest(method, url, payload) if err != nil { fmt.Println(err) return } req.Header.Add("Authorization", "Bearer <api_key>") req.Header.Add("Content-Type", "application/json") res, err := client.Do(req) if err != nil { fmt.Println(err) return } defer res.Body.Close() body, err := ioutil.ReadAll(res.Body) if err != nil { fmt.Println(err) return } fmt.Println(string(body)) }
SMS Marketing Afghanistan
SMS Marketing Albania
SMS Marketing Algeria
SMS Marketing American Samoa
SMS Marketing Andorra
SMS Marketing Angola
SMS Marketing Anguilla
SMS Marketing Antarctica
SMS Marketing Antigua And Barbuda
SMS Marketing Argentina
SMS Marketing Armenia
SMS Marketing Aruba
SMS Marketing Australia
SMS Marketing Austria
SMS Marketing Azerbaijan
SMS Marketing Bahamas
SMS Marketing Bahrain
SMS Marketing Bangladesh
SMS Marketing Barbados
SMS Marketing Belarus
SMS Marketing Belgium
SMS Marketing Belize
SMS Marketing Benin
SMS Marketing Bermuda
SMS Marketing Bhutan
SMS Marketing Bolivia
SMS Marketing Bosnia And Herzegowina
SMS Marketing Botswana
SMS Marketing Bouvet Island (Norway)
SMS Marketing Brazil
SMS Marketing British Indian Ocean Territory
SMS Marketing Brunei Darussalam
SMS Marketing Bulgaria
SMS Marketing Burkina Faso
SMS Marketing Burundi
SMS Marketing Cambodia
SMS Marketing Cameroon
SMS Marketing Canada
SMS Marketing Cape Verde
SMS Marketing Caribbean Netherlands
SMS Marketing Cayman Islands
SMS Marketing Central African Republic
SMS Marketing Chad
SMS Marketing Chile
SMS Marketing China
SMS Marketing Christmas Island
SMS Marketing Cocos (Keeling) Islands (Austrailia)
SMS Marketing Colombia
SMS Marketing Comoros
SMS Marketing Congo
SMS Marketing Congo, The Drc
SMS Marketing Cook Islands
SMS Marketing Costa Rica
SMS Marketing Cote D'Ivoire
SMS Marketing Croatia (Local Name: Hrvatska)
SMS Marketing Cuba
SMS Marketing Curacao
SMS Marketing Cyprus
SMS Marketing Czech Republic
SMS Marketing Denmark
SMS Marketing Djibouti
SMS Marketing Dominica
SMS Marketing Dominican Republic
SMS Marketing East Timor
SMS Marketing Ecuador
SMS Marketing Egypt
SMS Marketing El Salvador
SMS Marketing Equatorial Guinea
SMS Marketing Eritrea
SMS Marketing Estonia
SMS Marketing Ethiopia
SMS Marketing Falkland Islands (Malvinas)
SMS Marketing Faroe Islands
SMS Marketing Fiji
SMS Marketing Finland
SMS Marketing France
SMS Marketing French Guiana
SMS Marketing French Polynesia
SMS Marketing French Southern Territories
SMS Marketing Gabon
SMS Marketing Gambia
SMS Marketing Georgia
SMS Marketing Germany
SMS Marketing Ghana
SMS Marketing Gibraltar
SMS Marketing Greece
SMS Marketing Greenland
SMS Marketing Grenada
SMS Marketing Guadeloupe
SMS Marketing Guam
SMS Marketing Guatemala
SMS Marketing Guinea
SMS Marketing Guinea-Bissau
SMS Marketing Guyana
SMS Marketing Haiti
SMS Marketing Heard And Mc Donald Islands
SMS Marketing Holy See (Vatican City State)
SMS Marketing Honduras
SMS Marketing Hong Kong
SMS Marketing Hungary
SMS Marketing Iceland
SMS Marketing India
SMS Marketing Indonesia
SMS Marketing Iran (Islamic Republic Of)
SMS Marketing Iraq
SMS Marketing Ireland
SMS Marketing Israel
SMS Marketing Italy
SMS Marketing Jamaica
SMS Marketing Japan
SMS Marketing Jersey
SMS Marketing Jordan
SMS Marketing Kazakhstan
SMS Marketing Kenya
SMS Marketing Kiribati
SMS Marketing Korea, D.P.R.O.
SMS Marketing Korea, Republic Of
SMS Marketing Kosovo
SMS Marketing Kuwait
SMS Marketing Kyrgyzstan
SMS Marketing Laos
SMS Marketing Latvia
SMS Marketing Lebanon
SMS Marketing Lesotho
SMS Marketing Liberia
SMS Marketing Libyan Arab Jamahiriya
SMS Marketing Liechtenstein
SMS Marketing Lithuania
SMS Marketing Luxembourg
SMS Marketing Macau
SMS Marketing Madagascar
SMS Marketing Malawi
SMS Marketing Malaysia
SMS Marketing Maldives
SMS Marketing Mali
SMS Marketing Malta
SMS Marketing Marshall Islands
SMS Marketing Martinique
SMS Marketing Mauritania
SMS Marketing Mauritius
SMS Marketing Mayotte
SMS Marketing Mexico
SMS Marketing Micronesia, Federated States Of
SMS Marketing Moldova, Republic Of
SMS Marketing Monaco
SMS Marketing Mongolia
SMS Marketing Montenegro
SMS Marketing Montserrat
SMS Marketing Morocco
SMS Marketing Mozambique
SMS Marketing Myanmar (Burma)
SMS Marketing Namibia
SMS Marketing Nauru
SMS Marketing Nepal
SMS Marketing Netherlands
SMS Marketing Netherlands Antillen
SMS Marketing New Caledonia
SMS Marketing New Zealand
SMS Marketing Nicaragua
SMS Marketing Niger
SMS Marketing Nigeria
SMS Marketing Niue
SMS Marketing Norfolk Island
SMS Marketing North Macedonia
SMS Marketing Northern Mariana Islands
SMS Marketing Norway
SMS Marketing Oman
SMS Marketing Pakistan
SMS Marketing Palau
SMS Marketing Palestinian Territory
SMS Marketing Panama
SMS Marketing Papua New Guinea
SMS Marketing Paraguay
SMS Marketing Peru
SMS Marketing Philippines
SMS Marketing Pitcairn
SMS Marketing Poland
SMS Marketing Portugal
SMS Marketing Puerto Rico
SMS Marketing Qatar
SMS Marketing Reunion
SMS Marketing Romania
SMS Marketing Russian Federation
SMS Marketing Rwanda
SMS Marketing SYRIA
SMS Marketing Saint Kitts And Nevis
SMS Marketing Saint Lucia
SMS Marketing Saint Vincent And The Grenadines
SMS Marketing Samoa
SMS Marketing San Marino
SMS Marketing Sao Tome And Principe
SMS Marketing Saudi Arabia
SMS Marketing Senegal
SMS Marketing Serbia
SMS Marketing Seychelles
SMS Marketing Sierra Leone
SMS Marketing Singapore
SMS Marketing Sint Maarten
SMS Marketing Slovakia (Slovak Republic)
SMS Marketing Slovenia
SMS Marketing Solomon Islands
SMS Marketing Somalia
SMS Marketing South Africa
SMS Marketing South Georgia And South S.S.
SMS Marketing South Sudan
SMS Marketing Spain
SMS Marketing Sri Lanka
SMS Marketing St. Helena
SMS Marketing St. Pierre And Miquelon
SMS Marketing Sudan
SMS Marketing Suriname
SMS Marketing Svalbard And Jan Mayen Islands
SMS Marketing Swaziland
SMS Marketing Sweden
SMS Marketing Switzerland
SMS Marketing Taiwan
SMS Marketing Tajikistan
SMS Marketing Tanzania, United Republic Of
SMS Marketing Thailand
SMS Marketing Togo
SMS Marketing Tokelau
SMS Marketing Tonga
SMS Marketing Trinidad And Tobago
SMS Marketing Tunisia
SMS Marketing Turkey
SMS Marketing Turkmenistan
SMS Marketing Turks And Caicos Islands
SMS Marketing Tuvalu
SMS Marketing U.S. Minor Islands
SMS Marketing Uganda
SMS Marketing Ukraine
SMS Marketing United Arab Emirates
SMS Marketing United Kingdom
SMS Marketing United States
SMS Marketing Uruguay
SMS Marketing Uzbekistan
SMS Marketing Vanuatu
SMS Marketing Venezuela
SMS Marketing Vietnam
SMS Marketing Virgin Islands (British)
SMS Marketing Virgin Islands (U.S.)
SMS Marketing Wallis And Futuna Islands
SMS Marketing Western Sahara
SMS Marketing Yemen
SMS Marketing Zambia
SMS Marketing Zimbabwe