SMS API Services for Sri Lanka Businesses

Easily Send SMS Messages in Sri Lanka with SMS.to API Looking for an efficient way to send SMS messages to customers in Sri Lanka? Look no further than SMS.to API. Our easy-to-use API can be quickly set up and offers low-cost options to send SMS messages worldwide. With our SMS API, your company can also easily receive accurate delivery reports, create lists, validate through HLR, and send personalized messages or campaigns. This can be a valuable tool for your computer software, CRM, ERP, notification, or SMS marketing software. Ready to get started? Sign up for a free test account or get in touch with our sales team to learn more about our SMS API for Sri Lanka.

GET STARTED Contact Sales

Free Trial - No Credit Card Required

PizzaStore
PZ
For the next 24 hours you can get 1 Pizza & 1 Pizza for FREE with Extra Pepperoni
Use PIZZASMS Coupon at checkout to redeem. Optout - sms.to/o/8Vs1RS
PizzaStore
Ok. Thank you.
iFixers
IF
Your iMac is now repaired and shiny as new. John from iFixers!
iFixers
When can I pick it up?
IF
Pickup anytime between 09:00:17:00 Mon to Friday from our store
DoctorOffice
DO
This is a reminder for your Appointment with Dr.Smooch at 18:00:18:30 on Monday.
To reschedule call our office up to 24 hours before.
DoctorOffice
SMStoAuth
SA
Your blockchain wallet authorization code is 8KD18
SMStoAuth
60123
61
From 1 to 10, how happy were you with the service received at MyAwesomeCoffeeShop?
60123
I really liked the service. My girlfriend got her coffee precisely as she wanted it. I am giving a 10.
61
Thank you! Looking forward to seeing you again at our lovely coffee shop.

Cost Calculator

Fill details below to calculate your
SMS campaign cost


€ 0.080 price per sms

High volume?

Contact Sales →

Affordable Pay-as-you-go SMS Pricing in Sri Lanka

Flexible and Cost-Effective SMS Solutions in Sri Lanka

Our Sri Lanka SMS API offers flexible pricing options for your messaging needs. With our API, you only pay for what you send. Whether you have a low or high volume of messages, we offer cost-effective solutions tailored to your specific requirements. Check out our prices for low volume on the left or get in touch with us to discuss special discounts for higher volumes.


BUY SMS CREDITS →

Connecting Your Business with SMS API Services in Sri Lanka

Streamline Communications with SMS API Services in Sri Lanka

In Sri Lanka, the use of Bulk SMS is rapidly increasing among mobile subscribers, which exceeded 28 million in 2018. With a population of 22.5 million, the mobile penetration rate is up to 124.9%. This trend creates an excellent opportunity for businesses to leverage the growing A2P traffic potential. Partnering with a reliable SMS API service provider like SMS.to is crucial for local and international businesses sending SMS messages in Sri Lanka. Don't miss out on the huge opportunity to maximize your reach and engagement.

Mobile Subscriber Networks for SMS API in Sri Lanka

Seamless Integration and Powerful SMS APIs for Sri Lankan Mobile Networks

Upgrade Your Communication with our Sri Lanka SMS API Services Our SMS API Services in Sri Lanka provide a streamlined and hassle-free way for you to reach your audience. Through our web interface or easy-to-integrate SMS API, you can connect with all available mobile networks in the country. Say goodbye to complex integrations and hello to efficient communication with your target market.

Efficient SMS API Integration in Sri Lanka

Seamless Integration for Enhanced SMS Capabilities

Unlock efficient SMS API integration in Sri Lanka with our robust platform. Seamlessly connect with leading mobile operators such as Dialog Axiata, Mobitel, and Hutch to engage your customers programmatically. Leverage the power of our SMS API to deliver personalized, real-time messages, and enhance your communication strategy. Drive business growth, optimize workflows, and streamline customer interactions with our reliable SMS API integration in Sri Lanka.

Powerful SMS API Services for Developers in Sri Lanka

Seamless Integration and Customization: Unleash the Power of SMS APIs

Integrate SMS API for Robust Connectivity in Sri Lanka Looking for a reliable and scalable SMS API for your apps and software that require seamless SMS connectivity in Sri Lanka? Look no further than our SMS API services. Our robust SMS API integration can help you build powerful apps and CRM platforms that require a seamless SMS API integration without any interruptions. Our SMS API for Sri Lanka networks is the perfect solution for all businesses looking to strengthen their communication capabilities.


GET API KEY →
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))
}

Trusted by Businesses Worldwide

Privacy & Regulatory Compliance

Achieve Privacy & Regulatory Compliance effortlessly with our robust SMS API. Seamlessly integrate and manage your messaging needs with ease.

ShortLink Tracking

Track your SMS campaigns with precision using our ShortLink Tracking feature. Seamlessly integrate with our powerful SMS API for accurate data insights.

Global Delivery

Achieve seamless global delivery with our SMS API. Connect with customers worldwide effortlessly, leveraging our powerful messaging platform for effective communication.

Security & Transparency

Experience the power of SMS API with unrivaled Security & Transparency. Seamlessly integrate SMS functionality into your applications for enhanced communication capabilities.

Personalisation & Dynamic Fields

Unlock the power of personalization with our SMS API. Seamlessly integrate dynamic fields to create engaging and customized SMS experiences. Take messaging to the next level.

Fair Price Promise

Our Fair Price Promise guarantees cost-effective solutions for your SMS API integration needs. Get competitive pricing without compromising on quality and reliability.

Secure Payments