SMS Marketing Afghanistan

Send Marketing SMS to Afghanistan or use our SMS API to implement SMS notifications,
OTP, reminders into your workflow and build apps that send SMS
with our redundant SSL SMS API in Afghanistan or internationally.

Cost Calculator

Fill details below to calculate your
SMS campaign cost


${{costPerSMS}} price per sms

High volume?

Contact Us →

SMS Pricing Afghanistan

No contracts, no commitments pay only for what you use. Afghanistan SMS Marketing prices for low volume can be seen on the left, if you have a higher volume please contact us for special disc


BUY SMS CREDITS →

SMS Marketing opportunity in Afghanistan

There is an exciting opportunity for Bulk SMS in Afghanistan. The population of Afghanistan was 23929713 in 2018 and mobile number users exceeded 34940837 that means a mobile penetration of almost 68.5%. Based on that you can understand that the opportunity for Bulk SMS is huge for a local or international business sending SMS in Afghanistan

SMS Mobile networks in Afghanistan

Our Afghanistan SMS Gateway platform will help you reach all possible and available networks in Afghanistan

icon

Afghanistan SMS API for developers

Implement SMS notifications, OTP, reminders etc. into your workflow and build apps that send SMS with our redundant SSL SMS API to send SMS to every Afghanistan network.


GET API KEY →
*some of features are still in development. Please refer to our API documentation for more info
#!/bin/bash
                
curl --location --request POST "https://api.sms.to/v1/sms/send" \ --header "Authorization: Bearer xyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyz" \ --header "Accept: application/json" \ --header "Content-Type: application/json" \ --data "{ \"body\": \"A new post on your favourite forum. Check it out.\", \"to\": \"+355692179931\", \"sender_id\": \"SMS.to\", \"callback_url\": \"https://your-website.com/handle-notification\" }"
$curl = curl_init();

curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.sms.to/v1/sms/send",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS =>'{"body": "A new post on your favourite forum. Check it out.","to": "+355692179931","sender_id": "SMS.to","callback_url": "https://your-website.com/handle-notification"}',
CURLOPT_HTTPHEADER => array(
"Authorization: Bearer xyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyz",
"Accept: application/json",
"Content-Type: application/json"
),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

            
import http.client

conn = http.client.HTTPSConnection("api.sms.to")

payload = "{\"body\": \"A new post on your favourite forum. Check it out.\",\"to\": \"+355692179931\",\"sender_id\": \"SMS.to\",\"callback_url\": \"https://your-website.com/handle-notification\"}"

headers = {
'Authorization': "Bearer xyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyz",
'Content-Type': "application/json",
'Accept': "application/json"
}

conn.request("POST", "/v1/sms/send", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
            
require 'uri'
require 'net/http'

url = URI("https://api.sms.to/v1/sms/send")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer xyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyz'
request["Content-Type"] = 'application/json'
request["Accept"] = 'application/json'
request.body = "{\"body\": \"A new post on your favourite forum. Check it out.\",\"to\": \"+355692179931\",\"sender_id\": \"SMS.to\",\"callback_url\": \"https://your-website.com/handle-notification\"}"

response = http.request(request)
puts response.read_body
            
var client = new RestClient("https://api.sms.to/v1/sms/send");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer xyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyz");
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Accept", "application/json");
request.AddParameter("application/json", "{\"body\": \"A new post on your favourite forum. Check it out.\",\"to\": \"+355692179931\",\"sender_id\": \"SMS.to\",\"callback_url\": \"https://your-website.com/handle-notification\"}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);