Wilt u SMS diensten integreren in uw software, CRM of website? Met onze SMS gateway API gaat dit snel en eenvoudig! Verrijk uw software met de uitgebreide SMS functionaliteiten van Smstools. Met onze software integratie kunt u SMS berichten verzenden en ontvangen in uw eigen software via onze API's en webhooks.
PROBEER NU GRATIS<?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' => "Hello World", //Message 'to' => "31681234567", //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: "Hello World", //Message (required) to: "31681234567", //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', 'Hello World'], //Message (required) ['to', '31681234567'], //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': 'Hello World', #Message (required) 'to': '31681234567', #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 payload = new { message = "Hello World", to = "31681234567", sender = "YourName" }; 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.RequestFormat = DataFormat.Json; request.AddJsonBody(payload); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content);
Om SMS'en te verzenden stuurt u een HTTP request naar onze server. Om SMS'en te ontvangen sturen wij een HTTP request naar uw script. Onze SMS gateway integreren in uw software gaat heel eenvoudig via onze SMS API. U kunt de gangbare programmeertalen gebruiken zoals ASP, C++, C#, Java, PHP …
SMS API documentatieU kunt onze SMS diensten ook aanbieden als reseller aan uw klanten.
WORD EEN RESELLERGebruik onze SMS gateway API en koppel uw software aan onze SMS gateway zodat u SMS berichten kunt versturen vanuit uw eigen software.
Integreer een virtueel SMS nummer of SIM hosting om SMS berichten te kunnen ontvangen in uw software.
Start vandaag met Smstools en verstuur SMS via internet