
Integrate with our SMS Gateway API via your preferred programming language and send or receive SMS messages directly from your own application, website or software platform. Our SMS gateway API is extremely reliable and easy to integrate.
Instantly send and receive SMS messages worldwide via our SMS API and receive webhooks with delivery reports. In addition, we also have other integrations such as 'email to SMS', Zapier, Whatsapp, Slack, etc.
Smstools is a user-friendly and versatile SMS gateway to send and/or receive SMS messages! Our SMS API offers advanced features for sending SMS via our SMS gateway.
We have over a decade of experience and our text messaging system has been in constant development for over 15 years. Smstools has been designed to provide your business with a resilient, fast and easy to use text messaging system
Why smstools? About us<?php $ch = curl_init(); $url = "https://api.smsgatewayapi.com/v1/message/send"; $client_id = "XXX"; // Your API key $client_secret = "YYY"; // Your API secret $data = [ 'message' => "example", //Message 'to' => "11231231234", //Receiver 'sender' => "YourName" //Sender ]; curl_setopt($ch, CURLOPT_URL, "$url"); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_VERBOSE, true); curl_setopt($ch, CURLOPT_HTTPHEADER, [ "X-Client-Id: $client_id", "X-Client-Secret: $client_secret", "Content-Type: application/json", ]); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data)); $response = curl_exec($ch); ?>
const https = require("https"); const client_id = "XXX"; // Your API key const client_secret = "YYY"; // Your API secret const data = JSON.stringify({ message: "Hallo", //Message (required) to: "11231231234", //Receiver (required) sender: "YourName", //Sender (required) }); const options = { hostname: "api.smsgatewayapi.com", port: 443, path: "/v1/message/send", method: "POST", headers: { "X-Client-Id": client_id, "X-Client-Secret": client_secret, "Content-Type": "application/json", "Content-Length": data.length, }, }; const req = https.request(options, (res) => { console.log(`statusCode: ${res.statusCode}`); res.on("data", (d) => { process.stdout.write(d); }); }); req.write(data); req.end();
require "uri" require "net/http" url = URI("https://api.smsgatewayapi.com/v1/message/send") https = Net::HTTP.new(url.host, url.port) https.use_ssl = true request = Net::HTTP::Post.new(url) request["X-Client-Id"] = "XXX" // Your API key request["X-Client-Secret"] = "YYY" // Your API secret request["Content-Type"] = "application/json" form_data = [ ['message', 'example'], //Message (required) ['to', '11231231234'], //Receiver (required) ['sender', 'YourName'] //Sender (required) ] request.set_form form_data, 'multipart/form-data' response = https.request(request) puts response.read_body
import requests url = "https://api.smsgatewayapi.com/v1/message/send" payload={ 'message': 'example', #Message (required) 'to': '32479123456', #Receiver (required) 'sender': 'YourName' #Sender (required) } headers = { 'X-Client-Id': 'XXX', #Your API key 'X-Client-Secret': 'YYY', #Your API secret 'Content-Type': 'application/json' } response = requests.request( "POST", url, headers=headers, json=payload ) print(response.text)
var url = "https://api.smsgatewayapi.com/v1/message/send"; var client = new RestClient(url); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("X-Client-Id", "XXX"); // Your API key request.AddHeader("X-Client-Secret", "YYY"); // Your API secret request.AddHeader("Content-Type", "application/json"); request.AlwaysMultipartFormData = true; request.AddParameter("message", "example"); //Message (required) request.AddParameter("to", "32479123456"); //Receiver (required) request.AddParameter("sender", "YourName"); //Sender (required) IRestResponse response = client.Execute(request); Console.WriteLine(response.Content);
//PowerShell - RestMethod $headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]" $headers.Add("X-Client-Id", "XXX") // Your API key $headers.Add("X-Client-Secret", "YYY") // Your API secret $body = '{ `n "to": "11231231234", `n "message": "Hello World", `n "sender": "YourName" `n}' $response = Invoke-RestMethod 'https://api.smsgatewayapi.com/v1/message/send' -Method 'POST' -Headers $headers -Body $body -ContentType “application/json; charset=utf-8” $response | ConvertTo-Json
//Shell - wget wget --no-check-certificate --quiet \ --method POST \ --timeout=0 \ --header 'X-Client-Id: XXX' \ // Your API key --header 'X-Client-Secret: YYY' \ // Your API secret --header 'Content-Type: application/json' \ --body-data '{ "to": "11231231234", "message": "Hello World", "sender": "YourName" }' \ 'https://api.smsgatewayapi.com/v1/message/send'
With our SMS API you can extend your application with an SMS integration. Integrating our SMS API is very easy so you can quickly connect your website or software to our powerful SMS platform
API documentationWe work with high security standards. The security of your data is 100% GDPR compliant. In addition, we have a 99.99% uptime guarantee.
Start today and send SMS via our SMS API.